mmshplugins/mmshaoplugin/tsrc/ut_aoplugin/inc/ut_muscalleventmonitor.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
    24 #include <digia/eunit/ceunittestsuiteclass.h>
    24 #include <digia/eunit/ceunittestsuiteclass.h>
    25 #include <digia/eunit/eunitmacros.h>
    25 #include <digia/eunit/eunitmacros.h>
    26 #include "etelmm.h"
    26 #include "etelmm.h"
    27 #include "mussesseioninformationapi.h"
    27 #include "mussesseioninformationapi.h"
    28 #include "mmustsypropertyobserver.h"
    28 #include "mmustsypropertyobserver.h"
    29 #include "mmuscallstateobserver.h"
       
    30 
    29 
    31 //  FORWARD DECLARATIONS
    30 //  FORWARD DECLARATIONS
    32 class CMusCallEventMonitor;
    31 class CMusCallEventMonitor;
    33 
    32 
    34 // Next row is to disable warning emerging from EUnit code.
    33 // Next row is to disable warning emerging from EUnit code.
    41 /**
    40 /**
    42  * Tester class for MusCallMonitor. 
    41  * Tester class for MusCallMonitor. 
    43  * 
    42  * 
    44  */
    43  */
    45 NONSHARABLE_CLASS( UT_CMusCallEventMonitor ): public CEUnitTestSuiteClass,
    44 NONSHARABLE_CLASS( UT_CMusCallEventMonitor ): public CEUnitTestSuiteClass,
    46 											   MMusTsyPropertyObserver,
    45 											   MMusTsyPropertyObserver
    47 											   MMusCallStateObserver
       
    48 											   
       
    49     {
    46     {
    50     public:     // Constructors and destructors
    47     public:     // Constructors and destructors
    51 
    48 
    52         /**
    49         /**
    53          * Two phase construction
    50          * Two phase construction
    67      * @param aVal The call status
    64      * @param aVal The call status
    68      * @param aCallName The name of the call
    65      * @param aCallName The name of the call
    69      */
    66      */
    70     virtual void NotifyCallStateChanged( NMusSessionInformationApi::TMusCallEvent aVal,
    67     virtual void NotifyCallStateChanged( NMusSessionInformationApi::TMusCallEvent aVal,
    71     									 TName& aCallName );
    68     									 TName& aCallName );
    72     
       
    73     public:    // from MMusCallStateObserver.
       
    74 
       
    75         virtual void MusCallStateChanged();
       
    76     
    69     
    77 
    70 
    78     private: // Constructors and destructors
    71     private: // Constructors and destructors
    79 
    72 
    80         UT_CMusCallEventMonitor();
    73         UT_CMusCallEventMonitor();