|
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 |
|
21 #ifndef IMAGEEDITORROTATERIGHTPLUGIN_H |
|
22 #define IMAGEEDITORROTATERIGHTPLUGIN_H |
|
23 |
|
24 // INCLUDES |
|
25 #include "ImageEditorPluginBaseDefs.h" |
|
26 #include "iepb.h" |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CEditorImage; |
|
30 |
|
31 |
|
32 /* CLASS: CImageEditorRotateRightPlugin |
|
33 * |
|
34 * CImageEditorRotateRightPlugin represents rotate right 90 degrees plug-in |
|
35 * for Image Editor application. |
|
36 */ |
|
37 class CImageEditorRotateRightPlugin : public CImageEditorPluginBase |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 /** @name Methods:*/ |
|
43 //@{ |
|
44 |
|
45 /** Default constructor |
|
46 * |
|
47 * @param - |
|
48 * @return - |
|
49 */ |
|
50 CImageEditorRotateRightPlugin (); |
|
51 |
|
52 /** Second phase constructor, may leave |
|
53 * |
|
54 * @param - |
|
55 * @return - |
|
56 */ |
|
57 virtual void ConstructL (); |
|
58 |
|
59 /** Destructor |
|
60 * |
|
61 * @param - |
|
62 * @return - |
|
63 */ |
|
64 virtual ~CImageEditorRotateRightPlugin (); |
|
65 |
|
66 /* SetProperty |
|
67 * |
|
68 * @see CPluginBase |
|
69 */ |
|
70 virtual TInt SetProperty ( |
|
71 TInt aPropertyId, |
|
72 TDesC & aPropertyValue |
|
73 ); |
|
74 |
|
75 /* GetProperty |
|
76 * |
|
77 * @see CPluginBase |
|
78 */ |
|
79 virtual TInt GetProperty ( |
|
80 TInt aPropertyId, |
|
81 TDes & aPropertyValue |
|
82 ); |
|
83 |
|
84 /** InitPluginL |
|
85 * |
|
86 * @see CImageEditorPluginBase |
|
87 */ |
|
88 virtual TInt InitPluginL ( |
|
89 const TRect & aRect, |
|
90 CCoeControl * aParent, |
|
91 CCoeControl *& aPluginControl |
|
92 ); |
|
93 |
|
94 /** ProcessImageL |
|
95 * |
|
96 * @see CImageEditorPluginBase |
|
97 */ |
|
98 virtual void ProcessImageL (CEditorImage * aImage); |
|
99 |
|
100 /** ReleasePlugin |
|
101 * |
|
102 * @see CImageEditorPluginBase |
|
103 */ |
|
104 virtual void ReleasePlugin (); |
|
105 |
|
106 |
|
107 //@} |
|
108 |
|
109 protected: |
|
110 |
|
111 /** @name Methods:*/ |
|
112 //@{ |
|
113 |
|
114 //@} |
|
115 |
|
116 /** @name Members:*/ |
|
117 //@{ |
|
118 |
|
119 //@} |
|
120 |
|
121 private: |
|
122 |
|
123 /** @name Methods:*/ |
|
124 //@{ |
|
125 |
|
126 /** Copy constructor, disabled |
|
127 */ |
|
128 CImageEditorRotateRightPlugin (const CImageEditorRotateRightPlugin & rhs); |
|
129 |
|
130 /** Assignment operator, disabled |
|
131 */ |
|
132 CImageEditorRotateRightPlugin & operator= (const CImageEditorRotateRightPlugin & rhs); |
|
133 |
|
134 //@} |
|
135 |
|
136 /** @name Members:*/ |
|
137 //@{ |
|
138 |
|
139 //@} |
|
140 |
|
141 }; |
|
142 |
|
143 |
|
144 #endif |
|
145 |
|
146 // End of File |