diff -r 1505405bc645 -r b01c07dfcf84 coreapplicationuis/advancedtspcontroller/tsrc/ut_atsp/inc/ut_atsptspeventsstub.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/coreapplicationuis/advancedtspcontroller/tsrc/ut_atsp/inc/ut_atsptspeventsstub.h Thu Oct 07 06:25:45 2010 +0300 @@ -0,0 +1,54 @@ +/* +* Copyright (c) 2009 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: The stub for testing tsp events +* +*/ + +#ifndef UT_ATSPTSPEVENTSSTUB_H +#define UT_ATSPTSPEVENTSSTUB_H + +#include +#include "tsptriggerevents.h" + +class CUt_AtspTspEventsStub + : public CTimer, + public MTspRulesTriggerObserver + { +public: // Constructors and destructor + static CUt_AtspTspEventsStub* NewL(); + ~CUt_AtspTspEventsStub(); + +public: // Issue test event + void IssueAudioPropertyL(); + void IssueTspPropertyL(); + void IssueWsEventL(const TInt aType); +public: // From MTspRulesTriggerObserver + void MtrtoEvaluateRoutingRules(); + +protected: // From CTimer + void RunL(); + void DoCancel(); + +private: // Constructors + CUt_AtspTspEventsStub(); + void ConstructL(); + +public: // Data + TBool iIsRunLCalled; + TBool iIsTimerElapsed; + +private: + }; + +#endif /* UT_ATSPTSPEVENTSSTUB_H */