phonebookui/phonebookservices/inc/cntabstractserviceprovider.h
changeset 65 ae724a111993
parent 59 a642906a277a
equal deleted inserted replaced
59:a642906a277a 65:ae724a111993
    32      Complete the Qt Highway service (through a XQServiceProvider instance).
    32      Complete the Qt Highway service (through a XQServiceProvider instance).
    33      Closes the app after the completing is done (message sending to client is done).
    33      Closes the app after the completing is done (message sending to client is done).
    34      */
    34      */
    35     virtual void CompleteServiceAndCloseApp(const QVariant& retValue) = 0;
    35     virtual void CompleteServiceAndCloseApp(const QVariant& retValue) = 0;
    36 
    36 
       
    37     /*!
       
    38      If this method has been called, then the argument in a call to CompleteServiceAndCloseApp() 
       
    39      can be ignored by concrete provider.
       
    40      */
       
    41     virtual void overrideReturnValue(const QVariant& retValue) { Q_UNUSED(retValue) };
       
    42     
       
    43     /*!
       
    44      By default sub views are allowed to exit the service, override this and return false to
       
    45      restrict this functionality.
       
    46      */
       
    47     virtual bool allowSubViewsExit() { return true; };
       
    48 
    37 };
    49 };
    38 
    50 
    39 #endif /* CNTABSTRACTSERVICEPROVIDER_H */
    51 #endif /* CNTABSTRACTSERVICEPROVIDER_H */