equal
deleted
inserted
replaced
16 * The source file of drive event watcher |
16 * The source file of drive event watcher |
17 */ |
17 */ |
18 |
18 |
19 |
19 |
20 // INCLUDE FILES |
20 // INCLUDE FILES |
|
21 #include "fmdriveevent.h" |
21 #include <e32std.h> |
22 #include <e32std.h> |
22 #include "fmdriveevent.h" |
|
23 #include "fmcommon.h" |
23 #include "fmcommon.h" |
24 |
24 |
25 #include <aknnotewrappers.h> |
25 #include <aknnotewrappers.h> |
26 |
26 |
27 // ============================ MEMBER FUNCTIONS =============================== |
27 // ============================ MEMBER FUNCTIONS =============================== |
110 // |
110 // |
111 // ------------------------------------------------------------------------------ |
111 // ------------------------------------------------------------------------------ |
112 // |
112 // |
113 void CFmDriveEvent::Setup() |
113 void CFmDriveEvent::Setup() |
114 { |
114 { |
115 FmLogger::log( QString( "CFmDriveEvent::Setup start" ) ); |
115 FM_LOG( QString( "CFmDriveEvent::Setup start" ) ); |
116 if( IsActive() ) |
116 if( IsActive() ) |
117 { |
117 { |
118 return; |
118 return; |
119 } |
119 } |
120 |
120 |
121 iFs.NotifyChange( ENotifyDisk, iStatus ); |
121 iFs.NotifyChange( ENotifyDisk, iStatus ); |
122 SetActive(); |
122 SetActive(); |
123 FmLogger::log( QString( "CFmDriveEvent::Setup end" ) ); |
123 FM_LOG( QString( "CFmDriveEvent::Setup end" ) ); |
124 } |
124 } |
125 |
125 |
126 // ----------------------------------------------------------------------------- |
126 // ----------------------------------------------------------------------------- |
127 // CFmDriveEvent::RunL |
127 // CFmDriveEvent::RunL |
128 // From CActive. Called when asynchronous request is completed. |
128 // From CActive. Called when asynchronous request is completed. |