diff -r 7fdc9a71d314 -r 8ad140f3dd41 stif/stif_plat/inc/StifCommand.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stif/stif_plat/inc/StifCommand.h Wed Oct 13 16:17:58 2010 +0300 @@ -0,0 +1,80 @@ +/* +* 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: This file contains the type definitions used by +* command feature (i.e. StopExecution). +* +*/ + +#ifndef STIF_COMMAND_H +#define STIF_COMMAND_H + + +// INCLUDES +#include + +// CONSTANTS +const TInt KMaxCommandParamsLength = 50; // DEPRECATED use KMaxCommandParamsLength2 instead +const TInt KMaxCommandParamsLength2 = 600; + +// MACROS + +// FUNCTION PROTOTYPES + +// DATA TYPES + +// This enum type lists all possible commands sent from test case to test engine +enum TCommand + { + EStopExecution, + ESendTestModuleVersion, + }; + +typedef TPckg TCommandPckg; + +// This enum type lists all possible ways of how to run StopExecution command +enum TStopExecutionType + { + EOk, + EFail, + EAbort, + }; + +// FUNCTION PROTOTYPES + +// FORWARD DECLARATIONS + +// CLASS DECLARATION +struct TStopExecutionCommandParams + { + TInt iTestCaseHandle; + TStopExecutionType iType; + TInt iCode; + }; + +typedef TPckg TStopExecutionCommandParamsPckg; + + +struct TSendTestModuleVesionCommandParams + { + TFileName iTestModuleName; + TInt iMajor; + TInt iMinor; + TInt iBuild; + }; + +typedef TPckg TSendTestModuleVesionCommandParamsPckg; + +#endif //STIF_COMMAND_H + +// End of File