contentstorage/srvsrc/cammcwatcher.cpp
changeset 103 b99b84bcd2d1
parent 66 32469d7d46ff
child 119 50e220be30d1
equal deleted inserted replaced
83:156f692b1687 103:b99b84bcd2d1
   105 void CCaMmcWatcher::DoCancel()
   105 void CCaMmcWatcher::DoCancel()
   106     {
   106     {
   107     iFs.NotifyChangeCancel();
   107     iFs.NotifyChangeCancel();
   108     }
   108     }
   109 
   109 
       
   110 #ifdef COVERAGE_MEASUREMENT
       
   111 #pragma CTC SKIP
       
   112 #endif //COVERAGE_MEASUREMENT (error is ignored)
   110 // ---------------------------------------------------------------------------
   113 // ---------------------------------------------------------------------------
   111 // CCaWidgetMmcWatcher::RunError
   114 // CCaWidgetMmcWatcher::RunError
   112 // ---------------------------------------------------------------------------
   115 // ---------------------------------------------------------------------------
   113 //
   116 //
   114 TInt CCaMmcWatcher::RunError( TInt /*aError*/ )
   117 TInt CCaMmcWatcher::RunError( TInt /*aError*/ )
   115     {
   118     {
   116     // No need to do anything
   119     // No need to do anything
   117     return KErrNone;
   120     return KErrNone;
   118     }
   121     }
       
   122 #ifdef COVERAGE_MEASUREMENT
       
   123 #pragma CTC ENDSKIP
       
   124 #endif //COVERAGE_MEASUREMENT
   119 
   125 
       
   126 #ifdef COVERAGE_MEASUREMENT
       
   127 #pragma CTC SKIP
       
   128 #endif //COVERAGE_MEASUREMENT (memory card removal)
   120 // ---------------------------------------------------------
   129 // ---------------------------------------------------------
   121 // CCaWidgetMmcWatcher::RunL
   130 // CCaWidgetMmcWatcher::RunL
   122 // ---------------------------------------------------------
   131 // ---------------------------------------------------------
   123 //
   132 //
   124 void CCaMmcWatcher::RunL()
   133 void CCaMmcWatcher::RunL()
   128     if ( status >= KErrNone )
   137     if ( status >= KErrNone )
   129         {
   138         {
   130         iObserver->MmcChangeL();
   139         iObserver->MmcChangeL();
   131         }
   140         }
   132     }
   141     }
   133 
   142 #ifdef COVERAGE_MEASUREMENT
       
   143 #pragma CTC ENDSKIP
       
   144 #endif //COVERAGE_MEASUREMENT