phonebookui/phonebookservices/inc/cntabstractserviceprovider.h
changeset 65 ae724a111993
parent 59 a642906a277a
--- a/phonebookui/phonebookservices/inc/cntabstractserviceprovider.h	Wed Aug 18 09:39:00 2010 +0300
+++ b/phonebookui/phonebookservices/inc/cntabstractserviceprovider.h	Thu Sep 02 20:16:15 2010 +0300
@@ -34,6 +34,18 @@
      */
     virtual void CompleteServiceAndCloseApp(const QVariant& retValue) = 0;
 
+    /*!
+     If this method has been called, then the argument in a call to CompleteServiceAndCloseApp() 
+     can be ignored by concrete provider.
+     */
+    virtual void overrideReturnValue(const QVariant& retValue) { Q_UNUSED(retValue) };
+    
+    /*!
+     By default sub views are allowed to exit the service, override this and return false to
+     restrict this functionality.
+     */
+    virtual bool allowSubViewsExit() { return true; };
+
 };
 
 #endif /* CNTABSTRACTSERVICEPROVIDER_H */