phonebookui/phonebookservices/inc/cntservices.h
changeset 65 ae724a111993
parent 59 a642906a277a
child 71 7cc7d74059f9
--- a/phonebookui/phonebookservices/inc/cntservices.h	Wed Aug 18 09:39:00 2010 +0300
+++ b/phonebookui/phonebookservices/inc/cntservices.h	Thu Sep 02 20:16:15 2010 +0300
@@ -23,6 +23,7 @@
 
 #include "cntabstractserviceprovider.h"
 
+class CntAbstractEngine;
 class CntAbstractViewManager;
 class XQServiceProvider;
 
@@ -38,7 +39,8 @@
 
 public:
 
-    void setViewManager( CntAbstractViewManager& aViewManager );
+    //void setViewManager( CntAbstractViewManager& aViewManager );
+    void setEngine( CntAbstractEngine& aEngine );
     
     /**
      * Opens contact selection view where multiple contacts can be selected.
@@ -175,8 +177,11 @@
 
 private: // from CntAbstractServiceProvider
     void CompleteServiceAndCloseApp(const QVariant& retValue);
+    void overrideReturnValue(const QVariant& retValue);
+    bool allowSubViewsExit();
 private:
     CntAbstractViewManager* mViewManager; // not owned
+    CntAbstractEngine* mEngine;
     QStringList m_definitionNames;
     CntAbstractServiceProvider* mCurrentProvider; // not owned
     bool mIsQuittable;