mmshplugins/mmshaoplugin/inc/muscalleventmonitor.h
branchRCL_3
changeset 22 73a1feb507fb
parent 0 f0cf47e981f9
child 23 bc78a40cd63c
equal deleted inserted replaced
21:33a5d2bbf6fc 22:73a1feb507fb
    20 #ifndef MUSCALLEVENTMONITOR_H
    20 #ifndef MUSCALLEVENTMONITOR_H
    21 #define MUSCALLEVENTMONITOR_H
    21 #define MUSCALLEVENTMONITOR_H
    22 
    22 
    23 #include "musunittesting.h"
    23 #include "musunittesting.h"
    24 #include "muscallmonitorbase.h"
    24 #include "muscallmonitorbase.h"
       
    25 #include "mmuscallstateobserver.h"
    25 
    26 
    26 #include <etelmm.h>
    27 #include <etelmm.h>
    27 #include <e32base.h>
    28 #include <e32base.h>
    28 
    29 
    29 /**
    30 /**
    38         /**
    39         /**
    39          * Two-phased constructor. Leaves on failure.
    40          * Two-phased constructor. Leaves on failure.
    40          * aCall is not owned.
    41          * aCall is not owned.
    41          * @return CMusCallEventMonitor object.
    42          * @return CMusCallEventMonitor object.
    42          */
    43          */
    43         static CMusCallEventMonitor* NewL(const RMobileCall& aCall, MMusTsyPropertyObserver& aObserver );
    44         static CMusCallEventMonitor* NewL(const RMobileCall& aCall, 
       
    45                                             MMusTsyPropertyObserver& aObserver,
       
    46                                             MMusCallStateObserver& aCallStateObserver );
    44                                 
    47                                 
    45         /**
    48         /**
    46          * Destructor.
    49          * Destructor.
    47          */
    50          */
    48         ~CMusCallEventMonitor();       
    51         ~CMusCallEventMonitor();       
    50     private:
    53     private:
    51 
    54 
    52         /**
    55         /**
    53          * C++ constructor.
    56          * C++ constructor.
    54          */
    57          */
    55         CMusCallEventMonitor( const RMobileCall& aCall, MMusTsyPropertyObserver& aObserver );
    58         CMusCallEventMonitor( const RMobileCall& aCall, MMusTsyPropertyObserver& aObserver, 
       
    59                                 MMusCallStateObserver& aCallStateObserver );
    56 
    60 
    57         /**
    61         /**
    58          * Symbian 2nd-phase constructor.
    62          * Symbian 2nd-phase constructor.
    59          */
    63          */
    60         void ConstructL();            
    64         void ConstructL();