os/mm/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/CIPlugins/src/teststepciplaybackstatus.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef TESTSTEPCIPLAYBACKSTATUS_H
    17 #define TESTSTEPCIPLAYBACKSTATUS_H
    18 
    19 #include <testframework.h>
    20 
    21 // Custom interface definitions
    22 #include <mmf/server/devsoundstandardcustominterfaces.h>
    23 #include <mmf/plugin/mmfdevsoundcustominterface.hrh>
    24 
    25 #include "devsoundciutestdevices.hrh"
    26 
    27 // Test system includes
    28 #include "tsu_mmf_devsound_ciu_step.h"
    29 #include "tsu_mmf_devsound_ciu_suite.h"
    30 
    31 
    32 class CTestStepCIPlaybackStatus : public CTestStepCustominterfaceUnificationUnit
    33 	{
    34 public:
    35 	CTestStepCIPlaybackStatus();
    36 	TVerdict DoTestStepL();
    37 	};
    38 
    39 class CTestStepCIPlaybackStatusInfo : public CTestStepCustominterfaceUnificationUnit
    40 	{
    41 public:
    42 	CTestStepCIPlaybackStatusInfo();
    43 	TVerdict DoTestStepL();
    44 	};
    45 
    46 class CTestStepCIPlaybackStatusRequestNotification : public CTestStepCustominterfaceUnificationUnit
    47 	{
    48 public:
    49 	CTestStepCIPlaybackStatusRequestNotification(TBool aIsCancelTest);
    50 	TVerdict DoTestStepL();
    51 private:
    52 	void DoReadFromFileL(TBool& aFlag);
    53 	void DoRequestTestL(MMMFPlaybackStatus& aInterface);
    54 	void DoCancelTestL(MMMFPlaybackStatus& aInterface);
    55 private:
    56 	TBool iIsCancelTest;
    57 	};
    58 
    59 #endif