calendarui/globaldata/inc/calenfilemapping.h
branchRCL_3
changeset 20 21239b3bcd78
parent 0 f979ecb2b13e
child 67 1539a383d7b6
--- a/calendarui/globaldata/inc/calenfilemapping.h	Wed Mar 31 21:29:10 2010 +0300
+++ b/calendarui/globaldata/inc/calenfilemapping.h	Wed Apr 14 15:55:57 2010 +0300
@@ -22,6 +22,7 @@
 #include <calsession.h>
 
 class CCalEntryView;
+class CCalenDbChangeNotifier;
 
 
 /**
@@ -107,6 +108,18 @@
      */
     CCalSession *GetSessionPtr();    
     
+    /*
+     * Set the dbchangenotifier observer
+     * @param CCalSession pointer to a session 
+     */
+    void SetDBChangeNotifier(CCalenDbChangeNotifier* aDBChangeNotifier );
+    
+    /*
+     * Get the dbchangenotifier observer.
+     * @return CCalSession pointer to session.
+     */
+    CCalenDbChangeNotifier *GetDBChangeNotifier();
+    
     private:
 
     /**
@@ -125,7 +138,8 @@
     TInt iStatus;
     CCalSession* iSessionPtr;
     TCalCollectionId iColId;        
-    CCalEntryView* iEntryView;        
+    CCalEntryView* iEntryView;
+    CCalenDbChangeNotifier* iDBChangeNotifier;
     };