mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
Monotone-Parent: 00cc1c566eeb4f26c3d21e3a3543d990d20dcd75
Monotone-Revision: b20bb1a79c74d239030ea69ed5a863b7bfad609d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-06-30T18:54:55 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -51,80 +51,79 @@
|
||||
return addresses;
|
||||
}
|
||||
|
||||
/* CalDAV support */
|
||||
- (NSArray *) davCalendarHomeSet
|
||||
{
|
||||
/*
|
||||
<C:calendar-home-set xmlns:D="DAV:"
|
||||
xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||
<D:href>http://cal.example.com/home/bernard/calendars/</D:href>
|
||||
</C:calendar-home-set>
|
||||
|
||||
// /* CalDAV support */
|
||||
// - (NSArray *) davCalendarHomeSet
|
||||
// {
|
||||
// /*
|
||||
// <C:calendar-home-set xmlns:D="DAV:"
|
||||
// xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||
// <D:href>http://cal.example.com/home/bernard/calendars/</D:href>
|
||||
// </C:calendar-home-set>
|
||||
Note: this is the *container* for calendar collections, not the
|
||||
collections itself. So for use its the home folder, the
|
||||
public folder and the groups folder.
|
||||
*/
|
||||
NSArray *tag;
|
||||
SOGoAppointmentFolders *parent;
|
||||
|
||||
// Note: this is the *container* for calendar collections, not the
|
||||
// collections itself. So for use its the home folder, the
|
||||
// public folder and the groups folder.
|
||||
// */
|
||||
// NSArray *tag;
|
||||
// SOGoAppointmentFolders *parent;
|
||||
parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
[[parent davURL] path], nil];
|
||||
|
||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
// [parent davURL], nil];
|
||||
return [NSArray arrayWithObject: tag];
|
||||
}
|
||||
|
||||
// return [NSArray arrayWithObject: tag];
|
||||
// }
|
||||
- (NSArray *) davCalendarScheduleInboxURL
|
||||
{
|
||||
NSArray *tag;
|
||||
SOGoAppointmentFolders *parent;
|
||||
|
||||
// - (NSArray *) davCalendarScheduleInboxURL
|
||||
// {
|
||||
// NSArray *tag;
|
||||
// SOGoAppointmentFolders *parent;
|
||||
parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
[NSString stringWithFormat: @"%@personal/", [[parent davURL] path]],
|
||||
nil];
|
||||
|
||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
// [NSString stringWithFormat: @"%@personal/", [parent davURL]],
|
||||
// nil];
|
||||
return [NSArray arrayWithObject: tag];
|
||||
}
|
||||
|
||||
// return [NSArray arrayWithObject: tag];
|
||||
// }
|
||||
- (NSString *) davCalendarScheduleOutboxURL
|
||||
{
|
||||
NSArray *tag;
|
||||
SOGoAppointmentFolders *parent;
|
||||
|
||||
// - (NSString *) davCalendarScheduleOutboxURL
|
||||
// {
|
||||
// NSArray *tag;
|
||||
// SOGoAppointmentFolders *parent;
|
||||
parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
[NSString stringWithFormat: @"%@personal/", [[parent davURL] path]],
|
||||
nil];
|
||||
|
||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
// [NSString stringWithFormat: @"%@personal/", [parent davURL]],
|
||||
// nil];
|
||||
return [NSArray arrayWithObject: tag];
|
||||
}
|
||||
|
||||
// return [NSArray arrayWithObject: tag];
|
||||
// }
|
||||
- (NSString *) davDropboxHomeURL
|
||||
{
|
||||
NSArray *tag;
|
||||
SOGoAppointmentFolders *parent;
|
||||
|
||||
// - (NSString *) davDropboxHomeURL
|
||||
// {
|
||||
// NSArray *tag;
|
||||
// SOGoAppointmentFolders *parent;
|
||||
parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
[NSString stringWithFormat: @"%@personal/", [[parent davURL] path]],
|
||||
nil];
|
||||
|
||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
// [NSString stringWithFormat: @"%@personal/", [parent davURL]],
|
||||
// nil];
|
||||
return [NSArray arrayWithObject: tag];
|
||||
}
|
||||
|
||||
// return [NSArray arrayWithObject: tag];
|
||||
// }
|
||||
- (NSString *) davNotificationsURL
|
||||
{
|
||||
NSArray *tag;
|
||||
SOGoAppointmentFolders *parent;
|
||||
|
||||
// - (NSString *) davNotificationsURL
|
||||
// {
|
||||
// NSArray *tag;
|
||||
// SOGoAppointmentFolders *parent;
|
||||
parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
[NSString stringWithFormat: @"%@personal/", [[parent davURL] path]],
|
||||
nil];
|
||||
|
||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
||||
// [NSString stringWithFormat: @"%@personal/", [parent davURL]],
|
||||
// nil];
|
||||
|
||||
// return [NSArray arrayWithObject: tag];
|
||||
// }
|
||||
return [NSArray arrayWithObject: tag];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user