From: helge Date: Wed, 30 Jun 2004 09:07:55 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/trunk@100 d1b88da0-ebda-0310-925b-ed51d... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58f8d97c894acbd4cf75be3031f6362db1694ab3;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/trunk@100 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOGo/SoObjects/Appointments/GNUmakefile b/SOGo/SoObjects/Appointments/GNUmakefile index 270b09e4..26b2ddc6 100644 --- a/SOGo/SoObjects/Appointments/GNUmakefile +++ b/SOGo/SoObjects/Appointments/GNUmakefile @@ -10,6 +10,9 @@ Appointments_PRINCIPAL_CLASS = SOGoAppointmentsProduct Appointments_OBJC_FILES = \ Product.m \ + \ + SOGoAppointmentObject.m \ + SOGoAppointmentFolder.m \ Appointments_RESOURCE_FILES += \ Version \ diff --git a/SOGo/SoObjects/Appointments/GNUmakefile.preamble b/SOGo/SoObjects/Appointments/GNUmakefile.preamble index 1974a023..050fe7c4 100644 --- a/SOGo/SoObjects/Appointments/GNUmakefile.preamble +++ b/SOGo/SoObjects/Appointments/GNUmakefile.preamble @@ -8,3 +8,6 @@ ADDITIONAL_LIB_DIRS += \ -L../SOGo/$(GNUSTEP_OBJ_DIR)/ \ -L../../../OGoContentStore/$(GNUSTEP_OBJ_DIR)/ \ -L../../../SOGoLogic/$(GNUSTEP_OBJ_DIR)/ + +Appointments_BUNDLE_LIBS += \ + -lSOGo -lSOGoLogic diff --git a/SOGo/SoObjects/Appointments/SOGoAppointmentFolder.h b/SOGo/SoObjects/Appointments/SOGoAppointmentFolder.h new file mode 100644 index 00000000..945f4d1c --- /dev/null +++ b/SOGo/SoObjects/Appointments/SOGoAppointmentFolder.h @@ -0,0 +1,34 @@ +/* + Copyright (C) 2004 SKYRIX Software AG + + This file is part of OpenGroupware.org. + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + +#ifndef __Appointments_SOGoAppointmentFolder_H__ +#define __Appointments_SOGoAppointmentFolder_H__ + +#include + +@interface SOGoAppointmentFolder : SOGoFolder +{ +} + +@end + +#endif /* __Appointments_SOGoAppointmentFolder_H__ */ diff --git a/SOGo/SoObjects/Appointments/SOGoAppointmentFolder.m b/SOGo/SoObjects/Appointments/SOGoAppointmentFolder.m new file mode 100644 index 00000000..13e6c633 --- /dev/null +++ b/SOGo/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -0,0 +1,32 @@ +/* + Copyright (C) 2004 SKYRIX Software AG + + This file is part of OpenGroupware.org. + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + +#include "SOGoAppointmentFolder.h" +#include "common.h" + +@implementation SOGoAppointmentFolder + +- (void)dealloc { + [super dealloc]; +} + +@end /* SOGoAppointmentFolder */ diff --git a/SOGo/SoObjects/Appointments/SOGoAppointmentObject.h b/SOGo/SoObjects/Appointments/SOGoAppointmentObject.h new file mode 100644 index 00000000..adea357b --- /dev/null +++ b/SOGo/SoObjects/Appointments/SOGoAppointmentObject.h @@ -0,0 +1,34 @@ +/* + Copyright (C) 2004 SKYRIX Software AG + + This file is part of OpenGroupware.org. + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + +#ifndef __Appointments_SOGoAppointmentObject_H__ +#define __Appointments_SOGoAppointmentObject_H__ + +#include + +@interface SOGoAppointmentObject : SOGoContentObject +{ +} + +@end + +#endif /* __Appointments_SOGoAppointmentObject_H__ */ diff --git a/SOGo/SoObjects/Appointments/SOGoAppointmentObject.m b/SOGo/SoObjects/Appointments/SOGoAppointmentObject.m new file mode 100644 index 00000000..e76cb52f --- /dev/null +++ b/SOGo/SoObjects/Appointments/SOGoAppointmentObject.m @@ -0,0 +1,32 @@ +/* + Copyright (C) 2004 SKYRIX Software AG + + This file is part of OpenGroupware.org. + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + +#include "SOGoAppointmentObject.h" +#include "common.h" + +@implementation SOGoAppointmentObject + +- (void)dealloc { + [super dealloc]; +} + +@end /* SOGoAppointmentObject */ diff --git a/SOGo/SoObjects/Appointments/common.h b/SOGo/SoObjects/Appointments/common.h new file mode 100644 index 00000000..88fc5806 --- /dev/null +++ b/SOGo/SoObjects/Appointments/common.h @@ -0,0 +1,35 @@ +/* + Copyright (C) 2002-2004 SKYRIX Software AG + + This file is part of OpenGroupware.org. + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + +#import + +#if NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY +# include +# include +#endif + +#include +#include +#include + +#include + diff --git a/SOGo/SoObjects/Appointments/product.plist b/SOGo/SoObjects/Appointments/product.plist index c5c06afb..a9cfe621 100644 --- a/SOGo/SoObjects/Appointments/product.plist +++ b/SOGo/SoObjects/Appointments/product.plist @@ -11,5 +11,9 @@ SOGoAppointmentFolder = { superclass = "SOGoFolder"; }; + + SOGoAppointmentObject = { + superclass = "SOGoContentObject"; + }; }; } diff --git a/SOGo/SoObjects/SOGo/GNUmakefile b/SOGo/SoObjects/SOGo/GNUmakefile index 5952a4ea..bbf2df19 100644 --- a/SOGo/SoObjects/SOGo/GNUmakefile +++ b/SOGo/SoObjects/SOGo/GNUmakefile @@ -11,12 +11,14 @@ libSOGo_HEADER_FILES_DIR = . libSOGo_HEADER_FILES_INSTALL_DIR = /SOGo libSOGo_HEADER_FILES = \ - SOGoObject.h \ - SOGoFolder.h \ + SOGoObject.h \ + SOGoFolder.h \ + SOGoContentObject.h \ libSOGo_OBJC_FILES = \ - SOGoObject.m \ - SOGoFolder.m \ + SOGoObject.m \ + SOGoFolder.m \ + SOGoContentObject.m \ -include GNUmakefile.preamble include $(GNUSTEP_MAKEFILES)/library.make