--- a/phonebookengines/contactsmodel/cntplsql/inc/persistencelayerimpl.h Wed Apr 14 15:45:35 2010 +0300
+++ b/phonebookengines/contactsmodel/cntplsql/inc/persistencelayerimpl.h Tue Apr 27 16:23:35 2010 +0300
@@ -75,6 +75,9 @@
inline TBool IsTransactionActive() const;
void NotifyObserver() const;
+
+ void AddSqlDBObserverL( MLplSqlDatabaseObserver& aSqlDatabaseObserver );
+ void RemoveSqlDBObserverL( MLplSqlDatabaseObserver& aSqlDatabaseObserver );
private: // General methods used to implement all interfaces.
CPplContactsFile(CLplContactProperties& aProps, MContactDbObserver* aObserver);
@@ -102,6 +105,9 @@
RPplIccContactStore iIccContactStore; //owned
HBufC8* iConfigureStr;
+
+ // The array of observers which are monitoring RSqlDatabase.
+ RPointerArray<MLplSqlDatabaseObserver> iSqlDatabaseObservers;
};