2
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 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:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
/*
|
|
18 |
* StfTestLibPluginInterface.h
|
|
19 |
*
|
|
20 |
* Created on: Nov 10, 2009
|
|
21 |
* Author: h112wang
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef STFTESTLIBPLUGININTERFACE_H_
|
|
25 |
#define STFTESTLIBPLUGININTERFACE_H_
|
|
26 |
|
|
27 |
class CStfTestLibPlugin : public CBase {
|
|
28 |
public:
|
|
29 |
|
|
30 |
|
|
31 |
/**
|
|
32 |
* Result indicates eiterh plug-in is able to process command
|
|
33 |
* @param aCommand command to check
|
|
34 |
*/
|
|
35 |
virtual TBool IsCommandSupported(const TDesC& aCommand) = 0;
|
|
36 |
|
|
37 |
/**
|
|
38 |
* Execution of the specified library command
|
|
39 |
* implementation of , should return ASAP.
|
|
40 |
* aMessage contan is service specific.
|
|
41 |
* it will return KErrNone for successfully execution
|
|
42 |
* otherwise, it will return the error code
|
|
43 |
* @param aCommandLine command to execute
|
|
44 |
|
|
45 |
*/
|
|
46 |
virtual TInt ExecuteCommandL(const TDesC& aCommandLine) = 0;
|
|
47 |
};
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
#endif /* STFTESTLIBPLUGININTERFACE_H_ */
|