equal
deleted
inserted
replaced
27 #include <calennotificationhandler.h> // MCalenNotificationHandler |
27 #include <calennotificationhandler.h> // MCalenNotificationHandler |
28 #include <calsession.h> // Calendar database session |
28 #include <calsession.h> // Calendar database session |
29 #include <calinstanceview.h> // Calendar Instance view |
29 #include <calinstanceview.h> // Calendar Instance view |
30 #include <calentryview.h> // Calendar Entry view |
30 #include <calentryview.h> // Calendar Entry view |
31 #include <e32hashtab.h> //RHashSet |
31 #include <e32hashtab.h> //RHashSet |
|
32 |
|
33 #include "calendbchangenotifier.h" // MCalenDBChangeObserver |
32 |
34 |
33 #include <calenmulticaluids.hrh> |
35 #include <calenmulticaluids.hrh> |
34 |
36 |
35 |
37 |
36 // FORWARD DECLARATIONS |
38 // FORWARD DECLARATIONS |
74 * and server classes. Otherwise use InstanceL. |
76 * and server classes. Otherwise use InstanceL. |
75 * Doesn't take ownership of aNotifier. |
77 * Doesn't take ownership of aNotifier. |
76 */ |
78 */ |
77 IMPORT_C static CCalenGlobalData* |
79 IMPORT_C static CCalenGlobalData* |
78 NewL( MCalProgressCallBack& aCalCallBack, |
80 NewL( MCalProgressCallBack& aCalCallBack, |
79 MCalenContextChangeObserver* aNotifier=NULL ); |
81 MCalenContextChangeObserver* aNotifier=NULL, |
|
82 MCalenDBChangeObserver* aDBNotifier=NULL); |
80 |
83 |
81 /** |
84 /** |
82 * Constructor. Returns a new instance of CCalenGlobalData if |
85 * Constructor. Returns a new instance of CCalenGlobalData if |
83 * none exists, or returns the existing instance. |
86 * none exists, or returns the existing instance. |
84 * @return CCalenGlobalData pointer |
87 * @return CCalenGlobalData pointer |
313 |
316 |
314 /** |
317 /** |
315 * By default Symbian 2nd phase constructor is private. |
318 * By default Symbian 2nd phase constructor is private. |
316 * Doesn't take ownership of aNotifier. |
319 * Doesn't take ownership of aNotifier. |
317 */ |
320 */ |
318 void ConstructL( MCalenContextChangeObserver* aNotifier ); |
321 void ConstructL( MCalenContextChangeObserver* aNotifier, |
|
322 MCalenDBChangeObserver* aDBNotifier); |
319 |
323 |
320 /** |
324 /** |
321 * Private Destructor. Users of this class should call Release() instead |
325 * Private Destructor. Users of this class should call Release() instead |
322 */ |
326 */ |
323 ~CCalenGlobalData(); |
327 ~CCalenGlobalData(); |
483 MCalProgressCallBack& iCalCallBack; |
487 MCalProgressCallBack& iCalCallBack; |
484 RArray< TQueuedKeyEvent > iKeyQueue; |
488 RArray< TQueuedKeyEvent > iKeyQueue; |
485 TBool iCalendarForcedExit; |
489 TBool iCalendarForcedExit; |
486 CCalSession* iCalendarsSession; |
490 CCalSession* iCalendarsSession; |
487 RPointerArray<CCalCalendarInfo> iCalendarInfoList; |
491 RPointerArray<CCalCalendarInfo> iCalendarInfoList; |
|
492 MCalenDBChangeObserver* iDBChangeNotifier; |
488 }; |
493 }; |
489 |
494 |
490 #endif // CALENGLOBALDATA_H |
495 #endif // CALENGLOBALDATA_H |
491 |
496 |
492 // End of File |
497 // End of File |