From 58f8d97c894acbd4cf75be3031f6362db1694ab3 Mon Sep 17 00:00:00 2001 From: helge Date: Wed, 30 Jun 2004 09:07:55 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/trunk@100 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/SoObjects/Appointments/GNUmakefile | 3 ++ .../Appointments/GNUmakefile.preamble | 3 ++ .../Appointments/SOGoAppointmentFolder.h | 34 ++++++++++++++++++ .../Appointments/SOGoAppointmentFolder.m | 32 +++++++++++++++++ .../Appointments/SOGoAppointmentObject.h | 34 ++++++++++++++++++ .../Appointments/SOGoAppointmentObject.m | 32 +++++++++++++++++ SOGo/SoObjects/Appointments/common.h | 35 +++++++++++++++++++ SOGo/SoObjects/Appointments/product.plist | 4 +++ SOGo/SoObjects/SOGo/GNUmakefile | 10 +++--- 9 files changed, 183 insertions(+), 4 deletions(-) create mode 100644 SOGo/SoObjects/Appointments/SOGoAppointmentFolder.h create mode 100644 SOGo/SoObjects/Appointments/SOGoAppointmentFolder.m create mode 100644 SOGo/SoObjects/Appointments/SOGoAppointmentObject.h create mode 100644 SOGo/SoObjects/Appointments/SOGoAppointmentObject.m create mode 100644 SOGo/SoObjects/Appointments/common.h 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 -- 2.39.5