testexecfw/stf/stfext/testlibplugins/inc/StfTestLibPluginInterface.h
changeset 2 8bb370ba6d1d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testexecfw/stf/stfext/testlibplugins/inc/StfTestLibPluginInterface.h	Fri Apr 09 10:46:28 2010 +0800
@@ -0,0 +1,52 @@
+/*
+* Copyright (c) 2010 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: 
+*
+*/
+/*
+ * StfTestLibPluginInterface.h
+ *
+ *  Created on: Nov 10, 2009
+ *      Author: h112wang
+ */
+
+#ifndef STFTESTLIBPLUGININTERFACE_H_
+#define STFTESTLIBPLUGININTERFACE_H_
+
+class CStfTestLibPlugin : public CBase {
+public:
+   
+
+    /**
+    * Result indicates eiterh plug-in is able to process command 
+    * @param aCommand command to check
+    */
+    virtual TBool IsCommandSupported(const TDesC& aCommand) = 0;
+
+    /**
+    * Execution of the specified library command
+    * implementation of , should return ASAP.
+    * aMessage contan is service specific.
+    * it will return KErrNone for successfully execution
+    * otherwise, it will return the error code
+    * @param aCommandLine command to execute
+ 
+    */
+    virtual TInt ExecuteCommandL(const TDesC& aCommandLine) = 0;
+ };
+
+
+
+
+#endif /* STFTESTLIBPLUGININTERFACE_H_ */