phonebookui/pbkcommonui/inc/cntcollectionview.h
changeset 65 ae724a111993
parent 59 a642906a277a
child 71 7cc7d74059f9
--- a/phonebookui/pbkcommonui/inc/cntcollectionview.h	Wed Aug 18 09:39:00 2010 +0300
+++ b/phonebookui/pbkcommonui/inc/cntcollectionview.h	Thu Sep 02 20:16:15 2010 +0300
@@ -32,7 +32,6 @@
 class QModelIndex;
 class QActionGroup;
 class HbAbstractViewItem;
-class CntExtensionManager;
 
 QTM_USE_NAMESPACE
 
@@ -42,15 +41,16 @@
     friend class TestCntCollectionView;
     
 public:
-    CntCollectionView(CntExtensionManager &extensionManager);
+    CntCollectionView();
     ~CntCollectionView();
     
 public: // From CntAbstractView
-    void activate( CntAbstractViewManager* aMgr, const CntViewParameters aArgs );
+    void activate( const CntViewParameters aArgs );
     void deactivate();
     bool isDefault() const { return false; }
     HbView* view() const { return mView; }
     int viewId() const { return collectionView; }
+    inline void setEngine( CntAbstractEngine& aEngine ){mEngine = &aEngine;}
     
 public: // From CntExtensionGroupCallback
     void openView(CntViewParameters& viewParams);
@@ -83,7 +83,7 @@
     
     
 private:
-    CntExtensionManager&    mExtensionManager;
+    CntExtensionManager*    mExtensionManager;
     HbView*                 mView; // own
     HbAction*               mSoftkey; // owned by view
     CntAbstractViewManager* mViewManager;
@@ -100,6 +100,7 @@
     QSet<QContactLocalId>   mSelectedContactsSet;
     
     QActionGroup*           mActionGroup;
+    CntAbstractEngine* mEngine;
 };
 
 #endif // CNTCOLLECTIONVIEW_H