diff -r 000000000000 -r f0cf47e981f9 mmsharing/mmshavailability/tsrc/ut_availability/Stubs/src/muscallmonitorstub.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmsharing/mmshavailability/tsrc/ut_availability/Stubs/src/muscallmonitorstub.cpp Thu Dec 17 08:44:37 2009 +0200 @@ -0,0 +1,81 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: ?Description +* +*/ + + +// INCLUDES +#include "muscallmonitorbase.h" +#include "muscallstatusmonitor.h" + +#include + + +// +//CMusCallMonitorBase stub +// + +CMusCallMonitorBase::~CMusCallMonitorBase() + { + } + +// ----------------------------------------------------------------------------- +// C++ constructor. +// ----------------------------------------------------------------------------- +// +CMusCallMonitorBase::CMusCallMonitorBase(const RMobileCall& aCall, MMusTsyPropertyObserver& aObserver ) + : CActive( EPriorityNormal ),iCall(aCall),iTsyObserver( aObserver ) + + { + } + +// ----------------------------------------------------------------------------- +// CMusCallMonitorBase::SetStateL( TInt aError ) +// Sets the Call State to Property +// ----------------------------------------------------------------------------- +// +void CMusCallMonitorBase::SetStateL(NMusSessionInformationApi::TMusCallEvent /*aVal*/) + { + } + + +// ----------------------------------------------------------------------------- +// CMusCallMonitorBase::RunError( TInt aError ) +// Implemented for CActive. +// Will be called automatically by framework when RunL Leaves. +// ----------------------------------------------------------------------------- +// + +TInt CMusCallMonitorBase::RunError( TInt /*aError*/ ) + { + return KErrNone; + } + +// ----------------------------------------------------------------------------- +// CMusCallMonitorBase::NotifyCallStateChanged() +// Notify TSYobserver that our call status or call event state changed +// ----------------------------------------------------------------------------- +// +void CMusCallMonitorBase::NotifyCallStateChanged( NMusSessionInformationApi::TMusCallEvent /*aVal*/ ) + { + } + +CMusCallStatusMonitor* CMusCallStatusMonitor::NewL(const RMobileCall&, MMusTsyPropertyObserver& ) + { + return NULL; + } + +// End of File +