|
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 // This file defines the API for dunutilstest.dll |
|
19 |
|
20 #ifndef DUNUTILSTEST_H |
|
21 #define DUNUTILSTEST_H |
|
22 |
|
23 // Include Files |
|
24 |
|
25 #include <StifLogger.h> |
|
26 #include <TestScripterInternal.h> |
|
27 #include <StifTestModule.h> |
|
28 |
|
29 #include "DunNoteHandler.h" |
|
30 |
|
31 // Constants |
|
32 |
|
33 // Class Definitions |
|
34 |
|
35 |
|
36 NONSHARABLE_CLASS(Cdunutilstest) : public CScriptBase |
|
37 { |
|
38 public: |
|
39 // new functions |
|
40 |
|
41 static Cdunutilstest* NewL(CTestModuleIf& aTestModuleIf); |
|
42 |
|
43 virtual ~Cdunutilstest(); |
|
44 |
|
45 public: // Functions from base classes |
|
46 |
|
47 /** |
|
48 * From CScriptBase Runs a script line. |
|
49 * @since ?Series60_version |
|
50 * @param aItem Script line containing method name and parameters |
|
51 * @return Symbian OS error code |
|
52 */ |
|
53 virtual TInt RunMethodL( CStifItemParser& aItem ); |
|
54 |
|
55 private: |
|
56 // new functions |
|
57 Cdunutilstest(CTestModuleIf& aTestModuleIf); |
|
58 void ConstructL(); |
|
59 |
|
60 virtual TInt LaunchDialogL( CStifItemParser& aItem ); |
|
61 |
|
62 private: |
|
63 // data |
|
64 CDunNoteHandler* mDunandler; |
|
65 }; |
|
66 |
|
67 #endif // DUNUTILSTEST_H |
|
68 |