]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@100 d1b88da0-ebda-0310-925b-ed51d...
authorhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 30 Jun 2004 09:07:55 +0000 (09:07 +0000)
committerhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 30 Jun 2004 09:07:55 +0000 (09:07 +0000)
SOGo/SoObjects/Appointments/GNUmakefile
SOGo/SoObjects/Appointments/GNUmakefile.preamble
SOGo/SoObjects/Appointments/SOGoAppointmentFolder.h [new file with mode: 0644]
SOGo/SoObjects/Appointments/SOGoAppointmentFolder.m [new file with mode: 0644]
SOGo/SoObjects/Appointments/SOGoAppointmentObject.h [new file with mode: 0644]
SOGo/SoObjects/Appointments/SOGoAppointmentObject.m [new file with mode: 0644]
SOGo/SoObjects/Appointments/common.h [new file with mode: 0644]
SOGo/SoObjects/Appointments/product.plist
SOGo/SoObjects/SOGo/GNUmakefile

index 270b09e4ea68995e3f48497fb82ab10353563186..26b2ddc6004ed245b8a15775e8d14bad62898df0 100644 (file)
@@ -10,6 +10,9 @@ Appointments_PRINCIPAL_CLASS = SOGoAppointmentsProduct
 
 Appointments_OBJC_FILES = \
        Product.m                       \
+       \
+       SOGoAppointmentObject.m         \
+       SOGoAppointmentFolder.m         \
 
 Appointments_RESOURCE_FILES += \
        Version                 \
index 1974a023d969bfa7df9414d4b2edb52d808b337c..050fe7c45fa695950adaa956bb15e03075a84f15 100644 (file)
@@ -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 (file)
index 0000000..945f4d1
--- /dev/null
@@ -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 <SOGo/SOGoFolder.h>
+
+@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 (file)
index 0000000..13e6c63
--- /dev/null
@@ -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 (file)
index 0000000..adea357
--- /dev/null
@@ -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 <SOGo/SOGoContentObject.h>
+
+@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 (file)
index 0000000..e76cb52
--- /dev/null
@@ -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 (file)
index 0000000..88fc580
--- /dev/null
@@ -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 <Foundation/Foundation.h>
+
+#if NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY
+#  include <NGExtensions/NGObjectMacros.h>
+#  include <NGExtensions/NSString+Ext.h>
+#endif
+
+#include <NGExtensions/NGExtensions.h>
+#include <NGObjWeb/NGObjWeb.h>
+#include <NGObjWeb/SoObjects.h>
+
+#include <SOGoLogic/SOGoAppointment.h>
+
index c5c06afb38bf92f28d1d53428fe593d386dbc430..a9cfe6219a7de645ee25b296f17d9a5c5f91abb4 100644 (file)
@@ -11,5 +11,9 @@
     SOGoAppointmentFolder = {
       superclass    = "SOGoFolder";
     };
+
+    SOGoAppointmentObject = {
+      superclass    = "SOGoContentObject";
+    };
   };
 }
index 5952a4ea21f960a4ca25a1e9555c779d3d7b8d6b..bbf2df19d4fb91dffdafc2d4b09c24ca670d8ea5 100644 (file)
@@ -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