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