phonebookengines/contactsmodel/cntplsql/inc/cntpplviewmanager.h
changeset 25 76a2435edfd4
parent 24 0ba2181d7c28
--- a/phonebookengines/contactsmodel/cntplsql/inc/cntpplviewmanager.h	Fri Mar 19 09:27:18 2010 +0200
+++ b/phonebookengines/contactsmodel/cntplsql/inc/cntpplviewmanager.h	Fri Apr 16 14:53:18 2010 +0300
@@ -46,7 +46,7 @@
 class NONSHARED CCntPplViewManager : public CBase, public MLplViewIteratorManager
 	{
 public:
-	static CCntPplViewManager* NewL(CPplContactsFile& aContactsFile, const CContactTemplate& aSystemTemplate);
+	static CCntPplViewManager* NewL(CPplContactsFile& aContactsFile, const CLplContactProperties& aContactProperties);
 	~CCntPplViewManager();
 	
 	//Methods defined in MLplViewIteratorManager
@@ -63,14 +63,14 @@
 
 private:
 	void ConstructL();
-	CCntPplViewManager(CPplContactsFile& aContactsFile, const CContactTemplate& aSystemTemplate);
+	CCntPplViewManager(CPplContactsFile& aContactsFile, const CLplContactProperties& aContactProperties);
 	
 	TInt FindViewSessionIndexById(TInt aViewId) const;
 	CCntPplViewSession* FindViewSessionByIdL(TInt aViewId) const;
 	
 private:
 	CPplContactsFile& iContactsFile;
-	const CContactTemplate& iSystemTemplate;
+	const CLplContactProperties& iContactProperties;
 	
 	TInt  iNextViewId;
 	RPointerArray<CCntPplViewSession> iViewSessions;
@@ -81,7 +81,7 @@
 class NONSHARED CCntPplViewSession : public CTimer
 	{
 public:	
-	static CCntPplViewSession* NewL(CPplContactsFile& aContactsFile, const CContactTemplate& aSystemTemplate, CCntSqlStatement& aSelectAllFields, TInt aViewId, const CContactTextDef& aTextDef, TContactViewPreferences aViewPrefs);
+	static CCntPplViewSession* NewL(CPplContactsFile& aContactsFile, const CLplContactProperties& aContactProperties, CCntSqlStatement& aSelectAllFields, TInt aViewId, const CContactTextDef& aTextDef, TContactViewPreferences aViewPrefs);
 	~CCntPplViewSession();
 	
 	void ChangeSortOrderL(const CContactTextDef& aTextDef);
@@ -97,7 +97,7 @@
 	
 private:
 	void ConstructL(const CContactTextDef& aTextDef);
-	CCntPplViewSession(CPplContactsFile& aContactsFile, const CContactTemplate& aSystemTemplate, CCntSqlStatement& aSelectAllFields, TInt aViewId, TContactViewPreferences aViewPrefs);
+	CCntPplViewSession(CPplContactsFile& aContactsFile, const CLplContactProperties& aContactProperties, CCntSqlStatement& aSelectAllFields, TInt aViewId, TContactViewPreferences aViewPrefs);
 	
 	CViewContact* CreateViewItemL(RSqlStatement& aSqlStmt, const CCntSqlStatement& aCntSqlStmt, const TContactViewPreferences& aViewPrefs);
 	void  FillViewItemL(CViewContact& aViewContact, RSqlStatement& aSqlStmt, const TContactViewPreferences& aViewPrefs);
@@ -115,7 +115,7 @@
     void CleanupCachedPrepareStatement();
 private:
 	const TInt 				iViewId;
-	const CContactTemplate& iSystemTemplate;
+	const CLplContactProperties& iContactProperties;
 	
 	CPplContactsFile& 		iContactsFile;
 	CCntSqlStatement&       iSqlSmtSelectAllFieldsById;