equal
deleted
inserted
replaced
86 // --------------------------------------------------------------------------- |
86 // --------------------------------------------------------------------------- |
87 // |
87 // |
88 void CCmmListenerManager::ConstructL() |
88 void CCmmListenerManager::ConstructL() |
89 { |
89 { |
90 OstTraceFunctionEntry0( CCMMLISTENERMANAGER_CONSTRUCTL_ENTRY ); |
90 OstTraceFunctionEntry0( CCMMLISTENERMANAGER_CONSTRUCTL_ENTRY ); |
91 |
|
92 // Create the basic set of listeners, start them if necessary and store them in iListeners-array. |
|
93 |
|
94 OstTraceFunctionExit0( CCMMLISTENERMANAGER_CONSTRUCTL_EXIT ); |
91 OstTraceFunctionExit0( CCMMLISTENERMANAGER_CONSTRUCTL_EXIT ); |
95 } |
92 } |
96 |
93 |
97 // --------------------------------------------------------------------------- |
94 // --------------------------------------------------------------------------- |
98 // Adds a new listener to monitor for changes in the given database table. |
95 // Adds a new listener to monitor for changes in the given database table. |
154 // --------------------------------------------------------------------------- |
151 // --------------------------------------------------------------------------- |
155 // Tells the listener manager that a change has been detected in the given |
152 // Tells the listener manager that a change has been detected in the given |
156 // database table. |
153 // database table. |
157 // --------------------------------------------------------------------------- |
154 // --------------------------------------------------------------------------- |
158 // |
155 // |
159 void CCmmListenerManager::DbChangeDetected( TUint32 aIdentifier ) |
156 void CCmmListenerManager::DbChangeDetectedL( TUint32 aIdentifier ) |
160 { |
157 { |
161 OstTraceFunctionEntry0( CCMMLISTENERMANAGER_DBCHANGEDETECTED_ENTRY ); |
158 OstTraceFunctionEntry0( CCMMLISTENERMANAGER_DBCHANGEDETECTED_ENTRY ); |
162 |
159 |
163 iCache->DbChangeDetected( aIdentifier ); |
160 iCache->DbChangeDetectedL( aIdentifier ); |
164 |
161 |
165 OstTraceFunctionExit0( CCMMLISTENERMANAGER_DBCHANGEDETECTED_EXIT ); |
162 OstTraceFunctionExit0( CCMMLISTENERMANAGER_DBCHANGEDETECTED_EXIT ); |
166 } |
163 } |
167 |
164 |
168 // --------------------------------------------------------------------------- |
165 // --------------------------------------------------------------------------- |