2004-06-30 Helge Hess <helge.hess@opengroupware.org>
+ * GNUmakefile.preamble: fix link path
+
* GNUmakefile (libOGoContentStore_HEADER_FILES_INSTALL_DIR): install
headers in OGoContentStore
ADDITIONAL_INCLUDE_DIRS += -I. -I..
+ADDITIONAL_LIB_DIRS += -L./$(GNUSTEP_OBJ_DIR)
+
ifeq ($(FOUNDATION_LIB),apple)
libOGoContentStore_PREBIND_ADDR="0xC7700000"
libOGoContentStore_LDFLAGS += -seg1addr $(libOGoContentStore_PREBIND_ADDR)
#include <SOGo/SOGoFolder.h>
+@class NSString, NSArray, NSCalendarDate;
+
@interface SOGoAppointmentFolder : SOGoFolder
{
}
+ (NSString *)globallyUniqueObjectId;
+/* fetching */
+
+- (NSArray *)fetchCoreInfosFrom:(NSCalendarDate *)_startDate
+ to:(NSCalendarDate *)_endDate;
+
@end
#endif /* __Appointments_SOGoAppointmentFolder_H__ */
return [NSException exceptionWithHTTPStatus:404 /* Not Found */];
}
+/* fetching */
+
+- (NSArray *)fetchCoreInfosFrom:(NSCalendarDate *)_startDate
+ to:(NSCalendarDate *)_endDate
+{
+ id appointments;
+
+ [self logWithFormat:@"should fetch (%@ => %@) ...", _startDate, _endDate];
+
+#warning TODO: IMPLEMENT!
+
+ [self logWithFormat:@"fetched %i records.", [appointments count]];
+ return appointments;
+}
+
@end /* SOGoAppointmentFolder */
2004-06-30 Helge Hess <helge.hess@opengroupware.org>
+ * all files: removed ZideStore references
+
* UIxCalView.h, UIxAppointmentView.h, UIxAppointmentEditor.m,
UIxCalSelectTab.m: include UIxComponent from SOGoUI
- (NSString *)iCalStringTemplate {
static NSString *iCalStringTemplate = \
- @"BEGIN:VCALENDAR\nMETHOD:REQUEST\nPRODID:OpenGroupware.org ZideStore 1.2\n" \
+ @"BEGIN:VCALENDAR\nMETHOD:REQUEST\nPRODID:OpenGroupware.org SOGo 0.9\n" \
@"VERSION:2.0\nBEGIN:VEVENT\nCLASS:PRIVATE\nSTATUS:CONFIRMED\n" \
@"DTSTART:%@\nDTEND:%@\n" \
@"TRANSP:OPAQUE\n" \
hours:1 minutes:0 seconds:0];
template = [NSString stringWithFormat:iCalStringTemplate,
- [startDate icalString],
- [endDate icalString]];
+ [startDate icalString],
+ [endDate icalString]];
return template;
}
<uix:tab const:key="debug"
const:label="DEBUG"
var:href="debugTabLink">
- OGo ZideStore Server - <var:string value="name"/>
+ SOGo Server - <var:string value="name"/>
<br />
Client: <var:string value="clientObject"/>
<br />
</tr>
<tr bgcolor="#F5F5E9">
<td align="left" width="10"><var:entity const:name="nbsp"/></td>
- <td align="right"><img border="0" alt="" src="/ZideStore/so/ControlPanel/Products/CommonUI/Resources/corner_right.gif"/></td>
+ <td align="right"><img border="0" alt="" src="/sogod.woa/so/ControlPanel/Products/CommonUI/Resources/corner_right.gif"/></td>
</tr>
<tr>
<td colspan="2" bgcolor="#F5F5E9">
<!--
<hr />
- OGo ZideStore Server - <var:string value="name"/>
+ SOGo Server - <var:string value="name"/>
<br />
Client: <var:string value="clientObject"/>
<br />
// $Id$
-#ifndef __ZideStoreUI_UIxCalMonthView_H__
-#define __ZideStoreUI_UIxCalMonthView_H__
+#ifndef __SOGo_UIxCalMonthView_H__
+#define __SOGo_UIxCalMonthView_H__
#include "UIxCalView.h"
@end
-#endif /* __ZideStoreUI_UIxCalMonthView_H__ */
+#endif /* __SOGo_UIxCalMonthView_H__ */
// $Id$
-#ifndef __ZideStoreUI_UIxCalView_H__
-#define __ZideStoreUI_UIxCalView_H__
+#ifndef __SOGo_UIxCalView_H__
+#define __SOGo_UIxCalView_H__
#include <SOGoUI/UIxComponent.h>
@end
-#endif /* __ZideStoreUI_UIxCalView_H__ */
+#endif /* __SOGo_UIxCalView_H__ */
return [[self startDate] tomorrow];
}
-- (NSArray *)fetchGIDs {
-#warning ZIDESTORE FETCH BACKEND
-#if 0
- return [[self aptManager] gidsOfAppointmentSet:[self aptSetID]
- from:[self startDate] to:[self endDate]];
-#else
- return nil;
-#endif
-}
-
- (NSArray *)fetchCoreInfos {
+ return [[self clientObject] fetchCoreInfosFrom:[self startDate]
+ to:[self endDate]];
NSArray *gids;
if (self->appointments)
</tr>
<tr bgcolor="#F5F5E9">
<td align="left" width="10"><var:entity const:name="nbsp"/></td>
- <td align="right"><img border="0" alt="" src="/ZideStore/so/ControlPanel/Products/CommonUI/Resources/corner_right.gif"/></td>
+ <td align="right"><img border="0" alt="" src="/sogod.woa/so/ControlPanel/Products/CommonUI/Resources/corner_right.gif"/></td>
</tr>
<tr>
<td colspan="2" bgcolor="#F5F5E9">
// $Id$
-#ifndef __ZideStoreUI_UIxCalWeekView_H__
-#define __ZideStoreUI_UIxCalWeekView_H__
+#ifndef __SOGo_UIxCalWeekView_H__
+#define __SOGo_UIxCalWeekView_H__
#include "UIxCalView.h"
@end
-#endif /* __ZideStoreUI_UIxCalWeekView_H__ */
+#endif /* __SOGo_UIxCalWeekView_H__ */
};
provides = {
- ZideStoreProducts = ( { name = SchedulerUIProduct; } );
-
classes = (
);
-
WOComponents = (
);
};