mmsharing/mmshavailability/tsrc/ut_availability/Stubs/src/muscallmonitorstub.cpp
changeset 22 496ad160a278
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDES
       
    20 #include "muscallmonitorbase.h"
       
    21 #include "muscallstatusmonitor.h"
       
    22 
       
    23 #include <e32std.h>
       
    24 
       
    25 
       
    26 //
       
    27 //CMusCallMonitorBase stub
       
    28 //
       
    29 
       
    30 CMusCallMonitorBase::~CMusCallMonitorBase()
       
    31     {
       
    32     }
       
    33 
       
    34 // -----------------------------------------------------------------------------
       
    35 // C++ constructor.
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 CMusCallMonitorBase::CMusCallMonitorBase(const RMobileCall& aCall, 
       
    39                                             MMusTsyPropertyObserver& aObserver,
       
    40                                             MMusCallStateObserver& aCallStateObserver ) 
       
    41         : CActive( EPriorityNormal ),iCall(aCall),iTsyObserver( aObserver ),iCallStateObserver( aCallStateObserver )
       
    42         
       
    43     {   
       
    44     }
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 // CMusCallMonitorBase::SetStateL( TInt aError )
       
    48 // Sets the Call State to Property
       
    49 // -----------------------------------------------------------------------------
       
    50 //
       
    51 void CMusCallMonitorBase::SetStateL(NMusSessionInformationApi::TMusCallEvent /*aVal*/)
       
    52     {
       
    53     }
       
    54 
       
    55 
       
    56 // -----------------------------------------------------------------------------
       
    57 // CMusCallMonitorBase::RunError( TInt aError )
       
    58 // Implemented for CActive.
       
    59 // Will be called automatically by framework when RunL Leaves.
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 
       
    63 TInt CMusCallMonitorBase::RunError( TInt /*aError*/ )
       
    64     {
       
    65     return KErrNone;
       
    66     }
       
    67 
       
    68 // -----------------------------------------------------------------------------
       
    69 // CMusCallMonitorBase::NotifyCallStateChanged()
       
    70 // Notify TSYobserver that our call status or call event state changed
       
    71 // -----------------------------------------------------------------------------
       
    72 //
       
    73 void CMusCallMonitorBase::NotifyCallStateChanged( NMusSessionInformationApi::TMusCallEvent /*aVal*/ )
       
    74     {
       
    75     }
       
    76 
       
    77 
       
    78 // -----------------------------------------------------------------------------
       
    79 // MusCallStatusMonitor
       
    80 // -----------------------------------------------------------------------------
       
    81 //
       
    82 
       
    83 CMusCallStatusMonitor* CMusCallStatusMonitor::NewL(const RMobileCall&, MMusTsyPropertyObserver&, 
       
    84         MMusCallStateObserver& )
       
    85     {
       
    86     return NULL;
       
    87     }
       
    88 
       
    89 //  End of File  
       
    90