coreapplicationuis/advancedtspcontroller/tsrc/ut_atsp/inc/ut_atsptspeventsstub.h
changeset 77 b01c07dfcf84
equal deleted inserted replaced
74:1505405bc645 77:b01c07dfcf84
       
     1 /*
       
     2 * Copyright (c) 2009 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: The stub for testing tsp events
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef UT_ATSPTSPEVENTSSTUB_H
       
    19 #define UT_ATSPTSPEVENTSSTUB_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include "tsptriggerevents.h"
       
    23 
       
    24 class CUt_AtspTspEventsStub
       
    25     : public CTimer,
       
    26       public MTspRulesTriggerObserver
       
    27     {
       
    28 public:  // Constructors and destructor
       
    29     static CUt_AtspTspEventsStub* NewL();
       
    30     ~CUt_AtspTspEventsStub();
       
    31 
       
    32 public: // Issue test event
       
    33     void IssueAudioPropertyL();
       
    34     void IssueTspPropertyL();
       
    35     void IssueWsEventL(const TInt aType);
       
    36 public: // From MTspRulesTriggerObserver
       
    37     void MtrtoEvaluateRoutingRules();
       
    38     
       
    39 protected: // From CTimer
       
    40     void RunL();
       
    41     void DoCancel();
       
    42 
       
    43 private: // Constructors
       
    44     CUt_AtspTspEventsStub();
       
    45     void ConstructL();
       
    46 
       
    47 public: // Data
       
    48     TBool iIsRunLCalled;
       
    49     TBool iIsTimerElapsed;
       
    50     
       
    51 private:
       
    52     };
       
    53 
       
    54 #endif /* UT_ATSPTSPEVENTSSTUB_H */