equal
deleted
inserted
replaced
20 |
20 |
21 #include <e32cons.h> |
21 #include <e32cons.h> |
22 #include <calsession.h> |
22 #include <calsession.h> |
23 |
23 |
24 class CCalEntryView; |
24 class CCalEntryView; |
|
25 class CCalenDbChangeNotifier; |
25 |
26 |
26 |
27 |
27 /** |
28 /** |
28 * Class Declaration. |
29 * Class Declaration. |
29 * CCalenFileMapping is the implementation for holding information of Calendar. |
30 * CCalenFileMapping is the implementation for holding information of Calendar. |
105 * Get session pointer |
106 * Get session pointer |
106 * @return CCalSession pointer to session. |
107 * @return CCalSession pointer to session. |
107 */ |
108 */ |
108 CCalSession *GetSessionPtr(); |
109 CCalSession *GetSessionPtr(); |
109 |
110 |
|
111 /* |
|
112 * Set the dbchangenotifier observer |
|
113 * @param CCalSession pointer to a session |
|
114 */ |
|
115 void SetDBChangeNotifier(CCalenDbChangeNotifier* aDBChangeNotifier ); |
|
116 |
|
117 /* |
|
118 * Get the dbchangenotifier observer. |
|
119 * @return CCalSession pointer to session. |
|
120 */ |
|
121 CCalenDbChangeNotifier *GetDBChangeNotifier(); |
|
122 |
110 private: |
123 private: |
111 |
124 |
112 /** |
125 /** |
113 * Private constructor |
126 * Private constructor |
114 */ |
127 */ |
123 private: |
136 private: |
124 HBufC* iCalendarFileName; |
137 HBufC* iCalendarFileName; |
125 TInt iStatus; |
138 TInt iStatus; |
126 CCalSession* iSessionPtr; |
139 CCalSession* iSessionPtr; |
127 TCalCollectionId iColId; |
140 TCalCollectionId iColId; |
128 CCalEntryView* iEntryView; |
141 CCalEntryView* iEntryView; |
|
142 CCalenDbChangeNotifier* iDBChangeNotifier; |
129 }; |
143 }; |
130 |
144 |
131 |
145 |
132 #endif /* CALENFILEMAPPING_H_ */ |
146 #endif /* CALENFILEMAPPING_H_ */ |