mmshplugins/mmshaoplugin/src/muscalleventmonitor.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
    28 
    28 
    29 // ------------------------------------------------------------------------------
    29 // ------------------------------------------------------------------------------
    30 // Symbian two-phase constructor.
    30 // Symbian two-phase constructor.
    31 // ------------------------------------------------------------------------------
    31 // ------------------------------------------------------------------------------
    32 //
    32 //
    33 CMusCallEventMonitor* CMusCallEventMonitor::NewL( const RMobileCall& aCall, 
    33 CMusCallEventMonitor* CMusCallEventMonitor::NewL( const RMobileCall& aCall, MMusTsyPropertyObserver& aObserver )
    34                                                     MMusTsyPropertyObserver& aObserver,
       
    35                                                     MMusCallStateObserver& aCallStateObserver )
       
    36     {
    34     {
    37     MUS_LOG( "mus: [MUSAO]  -> CMusCallEventMonitor::NewL" )
    35     MUS_LOG( "mus: [MUSAO]  -> CMusCallEventMonitor::NewL" )
    38     CMusCallEventMonitor* self = new (ELeave) CMusCallEventMonitor(aCall, aObserver, aCallStateObserver );
    36     CMusCallEventMonitor* self = new (ELeave) CMusCallEventMonitor(aCall, aObserver);
    39     CleanupStack::PushL( self );
    37     CleanupStack::PushL( self );
    40     self->ConstructL();
    38     self->ConstructL();
    41     CleanupStack::Pop( self );
    39     CleanupStack::Pop( self );
    42     MUS_LOG( "mus: [MUSAO]  <- CMusCallEventMonitor::NewL" )
    40     MUS_LOG( "mus: [MUSAO]  <- CMusCallEventMonitor::NewL" )
    43     return self;
    41     return self;
    71 
    69 
    72 // ------------------------------------------------------------------------------
    70 // ------------------------------------------------------------------------------
    73 // C++ constructor.
    71 // C++ constructor.
    74 // ------------------------------------------------------------------------------
    72 // ------------------------------------------------------------------------------
    75 //
    73 //
    76 CMusCallEventMonitor::CMusCallEventMonitor( const RMobileCall& aCall, 
    74 CMusCallEventMonitor::CMusCallEventMonitor( const RMobileCall& aCall, MMusTsyPropertyObserver& aObserver ) 
    77                                             MMusTsyPropertyObserver& aObserver,
    75         : CMusCallMonitorBase(aCall, aObserver)     
    78                                             MMusCallStateObserver& aCallStateObserver ) 
       
    79         : CMusCallMonitorBase(aCall, aObserver, aCallStateObserver)     
       
    80         
    76         
    81     { 
    77     { 
    82     
    78       
    83     }
    79     }
    84 
    80 
    85 
    81 
    86 // -----------------------------------------------------------------------------
    82 // -----------------------------------------------------------------------------
    87 // CMusCallEventMonitor::RunL()
    83 // CMusCallEventMonitor::RunL()