|
1 /* |
|
2 * Copyright (c) 2004-2008 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: Plugin for basic script operations |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef C_BASICOPERATIONSPLUGIN_H |
|
21 #define C_BASICOPERATIONSPLUGIN_H |
|
22 |
|
23 // INCLUDES |
|
24 //#include <viewcli.h> |
|
25 |
|
26 #include <cfoperationplugin.h> |
|
27 |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Basic operations plugin. |
|
33 * |
|
34 * @lib - |
|
35 * @since S60 5.0 |
|
36 */ |
|
37 NONSHARABLE_CLASS( CBasicOperationsPlugIn ) : public CCFOperationPlugIn |
|
38 { |
|
39 public: // Constructors and destructor |
|
40 |
|
41 // Two phased constructors |
|
42 static CBasicOperationsPlugIn* NewL( |
|
43 TOperationPluginInitParams* aParams ); |
|
44 static CBasicOperationsPlugIn* NewLC( |
|
45 TOperationPluginInitParams* aParams ); |
|
46 |
|
47 // Destructor |
|
48 ~CBasicOperationsPlugIn(); |
|
49 |
|
50 public: // From CCFOperationPlugIn |
|
51 |
|
52 // @see CCFOperationPlugIn |
|
53 CCFOperationNode* ParseL( CCFOperationNode* aParent, |
|
54 CMDXMLNode& aDOMNode, |
|
55 MCFOperationServices& aOperationServices ); |
|
56 |
|
57 // @see CCFOperationPlugIn |
|
58 CCFScriptRoot* ParseScriptRootL( CCFOperationNode* aParent, |
|
59 CMDXMLNode& aDOMNode, |
|
60 MCFOperationServices& aOperationServices ); |
|
61 |
|
62 |
|
63 private: // Constructors |
|
64 |
|
65 // C++ constrcutor |
|
66 CBasicOperationsPlugIn( TOperationPluginInitParams* aParams ); |
|
67 |
|
68 // Symbian second-phase constructor |
|
69 void ConstructL(); |
|
70 |
|
71 private: // New functions |
|
72 |
|
73 |
|
74 private: // Data |
|
75 |
|
76 }; |
|
77 |
|
78 #endif // C_BASICOPERATIONSPLUGIN_H |