Logo Search packages:      
Sourcecode: agenda.app version File versions  Download package

CalendarGroup.h

#ifndef CalendarGroup_h
#define CalendarGroup_h

#include <Foundation/Foundation.h>

@class CalendarUser;
@class CalendarDomain;
@protocol CalendarEvent;
@protocol CalendarOwner;

00011 @protocol CalendarGroup
- (NSString *) name;
- (CalendarUser *) owner;
- (id <CalendarEvent>) setCalendarEvent:(id <CalendarEvent>)event;
@end

00017 @interface CalendarGroup:NSObject <CalendarOwner>
{
      NSString *_name;
      CalendarUser *__owner;
      NSMutableArray *_eventList;

      id _permissionMap; /* TODO */
}

+ (CalendarGroup *) calendarGroupWithName:(NSString *)name
                                                      owner:(CalendarUser *)owner;

- (id) initWithName:(NSString *)name
                    owner:(CalendarUser *)owner;

- (CalendarDomain *) calendarDomain;

@end

@interface CalendarGroupManager:NSObject <CalendarGroup>
00037 {
      CalendarGroup *_group;
      CalendarUser *_manager;
}

- (id) initWithCalendarGroup:(CalendarGroup *)group
            manageByCalendarUser:(CalendarUser *)manager;

@end

#endif

Generated by  Doxygen 1.6.0   Back to index