diff -r 73a1feb507fb -r bc78a40cd63c mmshplugins/mmshaoplugin/inc/muspropertymonitor.h --- a/mmshplugins/mmshaoplugin/inc/muspropertymonitor.h Tue Aug 31 15:12:07 2010 +0300 +++ b/mmshplugins/mmshaoplugin/inc/muspropertymonitor.h Wed Sep 01 12:31:01 2010 +0100 @@ -21,7 +21,6 @@ #define MUSPROPERTYMONITOR_H #include "musunittesting.h" -#include "mmuscallstateobserver.h" #include #include #include @@ -41,35 +40,36 @@ /** * Two-phased constructor. Leaves on failure. */ - static CMusPropertyMonitor* NewL( MMusCallStateObserver& aCallStateObserver ); + static CMusPropertyMonitor* NewL(); /** * Destructor. */ ~CMusPropertyMonitor(); - - - public: // other public functions - - /* - * Checks from P/S Keys about call state - * @return EFalse if call state is ENoCall otherwise ETrue - */ - TBool IsCallConnected(); - private: /** * C++ constructor. */ - CMusPropertyMonitor( MMusCallStateObserver& aCallStateObserve ); + CMusPropertyMonitor(); /** * Symbian 2nd-phase constructor. */ void ConstructL(); + /** + * Starts Mus Manager Client.In turn it will start Mus Manager + * Server and Availability Plugin. + */ + void StartMusClientL(); + + /* + * Stops Mus Manager Client. + */ + void StopMusClient(); + private: @@ -98,12 +98,12 @@ /** * Instance of RProperty. */ - RProperty iPropertyEvent; - - /* - * Reference of callstate observer not owned + RProperty iPropertyEvent; + + /** + * Instance of MusManager Client. Owned. */ - MMusCallStateObserver& iCallStateObserver; + CMusManager* iManager; MUS_UNITTEST( UT_CMusPropertyMonitor )