creator/engine/inc/creator_calendar.h
changeset 27 271e901a9423
parent 17 4f2773374eff
equal deleted inserted replaced
26:41ebde60981f 27:271e901a9423
    44 class CCalenderInterimParameters;
    44 class CCalenderInterimParameters;
    45 class CAsyncWaiter;
    45 class CAsyncWaiter;
    46 
    46 
    47 class CCreatorInterimCalendar : public CCreatorCalendarBase, public MCalProgressCallBack
    47 class CCreatorInterimCalendar : public CCreatorCalendarBase, public MCalProgressCallBack
    48     {
    48     {
       
    49 enum TCreatorCalendarStatus{
       
    50     ECreatorCalendarDelete = 0,
       
    51     ECreatorCalendarStart, 
       
    52     ECreatorCalendarGetWeeklyEntries,
       
    53     ECreatorCalendarGetAttendies,
       
    54     ECreatorCalendarGetStartDate,
       
    55     ECreatorCalendarGetEndDate, 
       
    56     ECreatorCalendarAddDefaultAlarm
       
    57 };
       
    58 
    49 public: 
    59 public: 
    50     static CCreatorInterimCalendar* NewL(CCreatorEngine* aEngine);
    60     static CCreatorInterimCalendar* NewL(CCreatorEngine* aEngine);
    51     static CCreatorInterimCalendar* NewLC(CCreatorEngine* aEngine);
    61     static CCreatorInterimCalendar* NewLC(CCreatorEngine* aEngine);
    52     ~CCreatorInterimCalendar();
    62     ~CCreatorInterimCalendar();
    53 
    63 
    61     void SetPhoneOwnerL(CCalEntry& aCalEntry, const TDesC& aCN, const TDesC& aEmail, const TDesC& aSentBy );
    71     void SetPhoneOwnerL(CCalEntry& aCalEntry, const TDesC& aCN, const TDesC& aEmail, const TDesC& aSentBy );
    62     void SetOrganizerL(CCalEntry& aCalEntry, const TDesC& aCN, const TDesC& aEmail, const TDesC& aSentBy);
    72     void SetOrganizerL(CCalEntry& aCalEntry, const TDesC& aCN, const TDesC& aEmail, const TDesC& aSentBy);
    63     void SetOrganizerL(CCalEntry& aCalEntry, CCalenderInterimParameters* parameters );
    73     void SetOrganizerL(CCalEntry& aCalEntry, CCalenderInterimParameters* parameters );
    64     
    74     
    65 public:
    75 public:
    66     TBool AskDataFromUserL(TInt aCommand, TInt& aNumberOfEntries); // from MCreatorModuleBase
    76     TBool AskDataFromUserL( TInt aCommand ); // from MCreatorModuleBase
    67 
    77     void QueryDialogClosedL(TBool aPositiveAction, TInt aUserData); //from MUIObserver
       
    78     
    68     TInt CreateAppointmentEntryL(CCreatorModuleBaseParameters *aParameters);    
    79     TInt CreateAppointmentEntryL(CCreatorModuleBaseParameters *aParameters);    
    69     TInt CreateEventEntryL(CCreatorModuleBaseParameters *aParameters);
    80     TInt CreateEventEntryL(CCreatorModuleBaseParameters *aParameters);
    70     TInt CreateAnniversaryEntryL(CCreatorModuleBaseParameters *aParameters); 
    81     TInt CreateAnniversaryEntryL(CCreatorModuleBaseParameters *aParameters); 
    71     TInt CreateTodoEntryL(CCreatorModuleBaseParameters *aParameters);
    82     TInt CreateTodoEntryL(CCreatorModuleBaseParameters *aParameters);
    72     TInt CreateReminderEntryL(CCreatorModuleBaseParameters *aParameters);
    83     TInt CreateReminderEntryL(CCreatorModuleBaseParameters *aParameters);