equal
deleted
inserted
replaced
20 #ifndef CAMDISKCHANGELISTENER_H |
20 #ifndef CAMDISKCHANGELISTENER_H |
21 #define CAMDISKCHANGELISTENER_H |
21 #define CAMDISKCHANGELISTENER_H |
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include <f32file.h> |
24 #include <f32file.h> |
25 #include "campropertywatcher.h" |
25 #include "CamPropertyWatcher.h" |
26 #include "campropertyobserver.h" |
26 #include "CamPropertyObserver.h" |
|
27 #include "CamTimer.h" |
27 |
28 |
28 // FORWARD DECLARATIONS |
29 // FORWARD DECLARATIONS |
29 class MCamDriveChangeNotifierObserver; |
30 class MCamDriveChangeNotifierObserver; |
30 |
31 |
31 // CLASS DECLARATION |
32 // CLASS DECLARATION |
135 void SendAllowDismount(); |
136 void SendAllowDismount(); |
136 |
137 |
137 // New functions |
138 // New functions |
138 |
139 |
139 void StartMonitoring(); |
140 void StartMonitoring(); |
|
141 |
140 void CancelMonitoring(); |
142 void CancelMonitoring(); |
|
143 |
|
144 void USBTimerCallBackL(); |
|
145 |
|
146 static TInt USBTimerCallBack( TAny* aPtr ); |
141 |
147 |
142 public: // From MPropertyObserver |
148 public: // From MPropertyObserver |
143 /** |
149 /** |
144 * The value of a watched property has changed |
150 * The value of a watched property has changed |
145 * @param aCategory The category of the property |
151 * @param aCategory The category of the property |
168 RPointerArray<CCamDiskChangeListener> iListeners; |
174 RPointerArray<CCamDiskChangeListener> iListeners; |
169 |
175 |
170 CCamPropertyWatcher* iUsbMSWatcher; |
176 CCamPropertyWatcher* iUsbMSWatcher; |
171 |
177 |
172 TBool iMassStorageModeOn; |
178 TBool iMassStorageModeOn; |
|
179 |
|
180 CCamTimer* iUSBTimer; |
173 |
181 |
174 }; |
182 }; |
175 |
183 |
176 #endif // CAMDISKCHANGELISTENER_H |
184 #endif // CAMDISKCHANGELISTENER_H |
177 |
185 |