|
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 * A base class for Image Editor controls. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 #include "ImageEditorControlBase.h" |
|
23 #include "ImageEditorUiPanics.h" |
|
24 |
|
25 //============================================================================= |
|
26 EXPORT_C CImageEditorControlBase::CImageEditorControlBase () : CCoeControl() |
|
27 { |
|
28 // EMPTY |
|
29 } |
|
30 |
|
31 //============================================================================= |
|
32 EXPORT_C CImageEditorControlBase::~CImageEditorControlBase () |
|
33 { |
|
34 // EMPTY |
|
35 } |
|
36 |
|
37 //============================================================================= |
|
38 EXPORT_C void CImageEditorControlBase::ConstructL ( |
|
39 const TRect & /*aRect*/, |
|
40 CCoeControl * /*aParent*/ |
|
41 ) |
|
42 { |
|
43 // EMPTY |
|
44 } |
|
45 |
|
46 //============================================================================= |
|
47 EXPORT_C void CImageEditorControlBase::SetImageL (CFbsBitmap * /*aBitmap*/) |
|
48 { |
|
49 // EMPTY |
|
50 } |
|
51 |
|
52 //============================================================================= |
|
53 EXPORT_C void CImageEditorControlBase::SetImageL (const CFbsBitmap * /*aBitmap*/) |
|
54 { |
|
55 // EMPTY |
|
56 } |
|
57 |
|
58 //============================================================================= |
|
59 EXPORT_C void CImageEditorControlBase::SetView (CAknView * /*aView*/) |
|
60 { |
|
61 // EMPTY |
|
62 } |
|
63 |
|
64 //============================================================================= |
|
65 EXPORT_C void CImageEditorControlBase::SetSelectedUiItemL (CPluginInfo * /*aItem*/) |
|
66 { |
|
67 // EMPTY |
|
68 } |
|
69 |
|
70 //============================================================================= |
|
71 EXPORT_C void CImageEditorControlBase::PrepareL () |
|
72 { |
|
73 // EMPTY |
|
74 } |
|
75 |
|
76 //============================================================================= |
|
77 EXPORT_C TKeyResponse CImageEditorControlBase::OfferKeyEventL ( |
|
78 const TKeyEvent & /*aKeyEvent*/, |
|
79 TEventCode /*aType*/ |
|
80 ) |
|
81 { |
|
82 return EKeyWasNotConsumed; |
|
83 } |
|
84 |
|
85 //============================================================================= |
|
86 EXPORT_C TInt CImageEditorControlBase::CountComponentControls() const |
|
87 { |
|
88 return 0; |
|
89 } |
|
90 |
|
91 //============================================================================= |
|
92 EXPORT_C CCoeControl * CImageEditorControlBase::ComponentControl (TInt /*aIndex*/) const |
|
93 { |
|
94 return 0; |
|
95 } |
|
96 |
|
97 //============================================================================= |
|
98 EXPORT_C void CImageEditorControlBase::SetBusy() |
|
99 { |
|
100 iBusy = ETrue; |
|
101 } |
|
102 |
|
103 //============================================================================= |
|
104 EXPORT_C void CImageEditorControlBase::ResetBusy() |
|
105 { |
|
106 iBusy = EFalse; |
|
107 } |
|
108 |
|
109 //============================================================================= |
|
110 EXPORT_C TBool CImageEditorControlBase::Busy() const |
|
111 { |
|
112 return iBusy; |
|
113 } |
|
114 |
|
115 //============================================================================= |
|
116 EXPORT_C void CImageEditorControlBase::HandlePluginCommandL (const TInt /*aCommand*/) |
|
117 { |
|
118 // EMPTY |
|
119 } |
|
120 |
|
121 //============================================================================= |
|
122 EXPORT_C TInt CImageEditorControlBase::GetSoftkeyIndexL () |
|
123 { |
|
124 return -1; |
|
125 } |
|
126 |
|
127 //============================================================================= |
|
128 EXPORT_C TInt CImageEditorControlBase::GetContextMenuResourceId() |
|
129 { |
|
130 return 0; |
|
131 } |
|
132 |
|
133 //============================================================================= |
|
134 EXPORT_C TPtrC CImageEditorControlBase::GetNaviPaneTextL ( |
|
135 TBool& aLeftNaviPaneScrollButtonVisibile, |
|
136 TBool& aRightNaviPaneScrollButtonVisible ) |
|
137 { |
|
138 aLeftNaviPaneScrollButtonVisibile = EFalse; |
|
139 aRightNaviPaneScrollButtonVisible = EFalse; |
|
140 return TPtrC(); |
|
141 } |
|
142 |
|
143 //============================================================================= |
|
144 EXPORT_C TBitField CImageEditorControlBase::GetDimmedMenuItems () |
|
145 { |
|
146 // return all-zero bitfield |
|
147 return TBitField(); |
|
148 } |
|
149 |
|
150 //============================================================================= |
|
151 EXPORT_C void CImageEditorControlBase::SizeChanged() |
|
152 { |
|
153 // EMPTY |
|
154 } |
|
155 |
|
156 //============================================================================= |
|
157 EXPORT_C void CImageEditorControlBase::HandlePointerEventL( const TPointerEvent& /*aPointerEvent*/ ) |
|
158 { |
|
159 // EMPTY |
|
160 } |
|
161 |
|
162 //============================================================================= |
|
163 EXPORT_C void CImageEditorControlBase::Draw (const TRect & /*aRect*/) const |
|
164 { |
|
165 // EMPTY |
|
166 } |
|
167 |
|
168 // End of File |