phonebookui/phonebookservices/inc/cntabstractserviceprovider.h
changeset 61 d30183af6ca6
parent 53 e6aff7b69165
--- a/phonebookui/phonebookservices/inc/cntabstractserviceprovider.h	Wed Aug 11 09:06:35 2010 +0300
+++ b/phonebookui/phonebookservices/inc/cntabstractserviceprovider.h	Mon Aug 23 16:06:28 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 */