|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "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 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef IMAGEEDITORPLUGINBASEINTERNAL_HPP |
|
21 #define IMAGEEDITORPLUGINBASEINTERNAL_HPP |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CPluginResource; |
|
28 |
|
29 /* CLASS: CImageEditorPluginBaseInt |
|
30 * |
|
31 * CImageEditorPluginBaseInt acts as internal representation of |
|
32 * CImageEditorPluginBase class. All the generic functionality of |
|
33 * Image Editor plug-in base is implemented here. |
|
34 * |
|
35 */ |
|
36 class CImageEditorPluginBaseInt : public CBase |
|
37 { |
|
38 |
|
39 public: |
|
40 |
|
41 /** @name Methods:*/ |
|
42 //@{ |
|
43 |
|
44 /** NewL factory method, pops cleanupstack |
|
45 * |
|
46 * @param aResourcePath - plug-in resource path |
|
47 * @param aResourceFile - plug-in resource file |
|
48 * @return pointer to created CImageEditorPluginBaseInt object |
|
49 */ |
|
50 static CImageEditorPluginBaseInt * NewL ( |
|
51 const TDesC & aResourcePath, |
|
52 const TDesC & aResourceFile |
|
53 ); |
|
54 |
|
55 /** Destructor |
|
56 * |
|
57 * @param - |
|
58 * @return - |
|
59 */ |
|
60 ~CImageEditorPluginBaseInt (); |
|
61 |
|
62 /** GetPluginResource |
|
63 * |
|
64 * @param - |
|
65 * @return CPluginResource * - pointer to plug-in resource |
|
66 */ |
|
67 CPluginResource * GetPluginResource() const; |
|
68 |
|
69 //@} |
|
70 |
|
71 protected: |
|
72 |
|
73 /** @name Methods:*/ |
|
74 //@{ |
|
75 |
|
76 //@} |
|
77 |
|
78 /** @name Members:*/ |
|
79 //@{ |
|
80 |
|
81 //@} |
|
82 |
|
83 private: |
|
84 |
|
85 /** @name Methods:*/ |
|
86 //@{ |
|
87 |
|
88 /** Default constructor |
|
89 * |
|
90 * @param - |
|
91 * @return - |
|
92 */ |
|
93 CImageEditorPluginBaseInt (); |
|
94 |
|
95 /** Second phase constructor, may leave |
|
96 * |
|
97 * @param aResourcePath - plug-in resource path |
|
98 * @param aResourceFile - plug-in resource file |
|
99 * @return - |
|
100 */ |
|
101 void ConstructL ( |
|
102 const TDesC & aResourcePath, |
|
103 const TDesC & aResourceFile |
|
104 ); |
|
105 |
|
106 /** Copy constructor, disabled |
|
107 */ |
|
108 CImageEditorPluginBaseInt (const CImageEditorPluginBaseInt & rhs); |
|
109 |
|
110 /** Assignment operator, disabled |
|
111 */ |
|
112 CImageEditorPluginBaseInt & operator= (const CImageEditorPluginBaseInt & rhs); |
|
113 |
|
114 //@} |
|
115 |
|
116 /** @name Members:*/ |
|
117 //@{ |
|
118 /// Plug-in resource |
|
119 CPluginResource * iResource; |
|
120 //@} |
|
121 |
|
122 }; |
|
123 |
|
124 |
|
125 |
|
126 #endif |