--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/stif/stif_plat/inc/StifCommand.h Tue Feb 02 01:57:15 2010 +0200
@@ -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 <E32Base.h>
+
+// 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<TCommand> 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<TStopExecutionCommandParams> TStopExecutionCommandParamsPckg;
+
+
+struct TSendTestModuleVesionCommandParams
+ {
+ TFileName iTestModuleName;
+ TInt iMajor;
+ TInt iMinor;
+ TInt iBuild;
+ };
+
+typedef TPckg<TSendTestModuleVesionCommandParams> TSendTestModuleVesionCommandParamsPckg;
+
+#endif //STIF_COMMAND_H
+
+// End of File