equal
deleted
inserted
replaced
38 // --------------------------------------------------------------------------- |
38 // --------------------------------------------------------------------------- |
39 // |
39 // |
40 CFileMonitorPlugin::~CFileMonitorPlugin() |
40 CFileMonitorPlugin::~CFileMonitorPlugin() |
41 { |
41 { |
42 delete iFileMonitor; |
42 delete iFileMonitor; |
43 iFileMonitor = NULL; |
|
44 } |
43 } |
45 |
44 |
46 // --------------------------------------------------------------------------- |
45 // --------------------------------------------------------------------------- |
47 // CFileMonitorPlugin::StartMonitoring() |
46 // CFileMonitorPlugin::StartMonitoring() |
48 // --------------------------------------------------------------------------- |
47 // --------------------------------------------------------------------------- |
66 if( cenRepoUtil ) |
65 if( cenRepoUtil ) |
67 { |
66 { |
68 TRAP( err, cenRepoUtil->AddIgnorePathsToFspL( KDrive, KMonitorPath )); |
67 TRAP( err, cenRepoUtil->AddIgnorePathsToFspL( KDrive, KMonitorPath )); |
69 } |
68 } |
70 delete cenRepoUtil; |
69 delete cenRepoUtil; |
71 cenRepoUtil = NULL; |
|
72 } |
70 } |
73 return success && err == KErrNone; |
71 return success && err == KErrNone; |
74 } |
72 } |
75 |
73 |
76 // --------------------------------------------------------------------------- |
74 // --------------------------------------------------------------------------- |