OCSFolderManager.h \
OCSFolderType.h \
OCSChannelManager.h \
+ OCSFieldExtractor.h \
+ OCSiCalFieldExtractor.h \
libOGoContentStore_OBJC_FILES += \
NSURL+OCS.m \
OCSFolderManager.m \
OCSFolderType.m \
OCSChannelManager.m \
+ OCSFieldExtractor.m \
+ OCSiCalFieldExtractor.m \
ocs_ls_OBJC_FILES += ocs_ls.m
ocs_mkdir_OBJC_FILES += ocs_mkdir.m
--- /dev/null
+/*
+ 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 __OGoContentStore_OCSFieldExtractor_H__
+#define __OGoContentStore_OCSFieldExtractor_H__
+
+#import <Foundation/NSObject.h>
+
+@interface OCSFieldExtractor : NSObject
+{
+}
+
+@end
+
+#endif /* __OGoContentStore_OCSFieldExtractor_H__ */
--- /dev/null
+/*
+ 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 "OCSFieldExtractor.h"
+#include "common.h"
+
+@implementation OCSFieldExtractor
+
+- (void)dealloc {
+ [super dealloc];
+}
+
+@end /* OCSFieldExtractor */
--- /dev/null
+/*
+ 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 __OGoContentStore_OCSiCalFieldExtractor_H__
+#define __OGoContentStore_OCSiCalFieldExtractor_H__
+
+#include <OGoContentStore/OCSFieldExtractor.h>
+
+@interface OCSiCalFieldExtractor : OCSFieldExtractor
+{
+}
+
++ (id)sharedICalFieldExtractor;
+
+@end
+
+#endif /* __OGoContentStore_OCSiCalFieldExtractor_H__ */
--- /dev/null
+/*
+ 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 "OCSiCalFieldExtractor.h"
+#include "common.h"
+
+@implementation OCSiCalFieldExtractor
+
+static OCSiCalFieldExtractor *extractor = nil;
+
++ (id)sharedICalFieldExtractor {
+ if (extractor == nil) extractor = [[self alloc] init];
+ return extractor;
+}
+
+- (void)dealloc {
+ [super dealloc];
+}
+
+@end /* OCSiCalFieldExtractor */
fields = (
{
- columnName = pkey;
- sqlType = "INTEGER";
- allowsNull = NO;
- isPrimaryKey = YES;
+ columnName = uid;
+ sqlType = "VARCHAR(256)";
+ allowsNull = NO;
},
{
columnName = startdate;
CREATE TABLE SOGo_helge_privcal_quick (
c_name VARCHAR(256) NOT NULL PRIMARY KEY, -- the filename
uid VARCHAR(256) NOT NULL,
- startdate INT NOT NULL,
- enddate INT NOT NULL,
+ startdate INT NOT NULL,
+ enddate INT NOT NULL,
title VARCHAR(1000) NOT NULL,
participants VARCHAR(100000) NOT NULL
);
928383,
1,
- 'BEGIN:VEVENT\r
+ 'BEGIN:VEVENT\r2
DURATION:PT1H\r
ATTENDEE;CN="Elke Bethke";DIR="addressbook://B156F3F0-9CFD-11D8-8561-000\r
D93C1A604:ABPerson":mailto:E.Bethke@Sachsen-Anhalt-Lotto.de\r