diff -r 1984aceb8774 -r 21239b3bcd78 calendarui/globaldata/inc/calenglobaldata.h --- a/calendarui/globaldata/inc/calenglobaldata.h Wed Mar 31 21:29:10 2010 +0300 +++ b/calendarui/globaldata/inc/calenglobaldata.h Wed Apr 14 15:55:57 2010 +0300 @@ -30,6 +30,8 @@ #include // Calendar Entry view #include //RHashSet +#include "calendbchangenotifier.h" // MCalenDBChangeObserver + #include @@ -76,7 +78,8 @@ */ IMPORT_C static CCalenGlobalData* NewL( MCalProgressCallBack& aCalCallBack, - MCalenContextChangeObserver* aNotifier=NULL ); + MCalenContextChangeObserver* aNotifier=NULL, + MCalenDBChangeObserver* aDBNotifier=NULL); /** * Constructor. Returns a new instance of CCalenGlobalData if @@ -315,7 +318,8 @@ * By default Symbian 2nd phase constructor is private. * Doesn't take ownership of aNotifier. */ - void ConstructL( MCalenContextChangeObserver* aNotifier ); + void ConstructL( MCalenContextChangeObserver* aNotifier, + MCalenDBChangeObserver* aDBNotifier); /** * Private Destructor. Users of this class should call Release() instead @@ -485,6 +489,7 @@ TBool iCalendarForcedExit; CCalSession* iCalendarsSession; RPointerArray iCalendarInfoList; + MCalenDBChangeObserver* iDBChangeNotifier; }; #endif // CALENGLOBALDATA_H