|
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 IMAGEEDITORPLUGINBASE_HRH |
|
21 #define IMAGEEDITORPLUGINBASE_HRH |
|
22 |
|
23 #include "avkon.hrh" |
|
24 |
|
25 enum TPluginUiType |
|
26 { |
|
27 // Invalid |
|
28 EPluginUiTypeMin = 0, |
|
29 |
|
30 // No UI, only image processing functionality |
|
31 EPluginUiTypeNone, |
|
32 |
|
33 // Single parameter UI |
|
34 EPluginUiTypeSingleParam, |
|
35 |
|
36 // Triple parameter UI |
|
37 EPluginUiTypeMultiParam, |
|
38 |
|
39 // Customized UI |
|
40 EPluginUiTypeCustomized, |
|
41 |
|
42 // Invalid |
|
43 EPluginUiTypeMax |
|
44 }; |
|
45 |
|
46 enum TPluginFilterType |
|
47 { |
|
48 // Invalid |
|
49 EPluginFilterTypeMin = 0, |
|
50 |
|
51 // ABITO filter |
|
52 EPluginFilterTypeABITO, |
|
53 |
|
54 // Customized filter |
|
55 EPluginFilterTypeCustomized, |
|
56 |
|
57 // System plugin |
|
58 EPluginFilterTypeSystem, |
|
59 |
|
60 // Invalid |
|
61 EPluginFilterTypeMax |
|
62 }; |
|
63 |
|
64 enum TPluginScope |
|
65 { |
|
66 // Invalid |
|
67 EPluginScopeMin = 0, |
|
68 |
|
69 // Filter inserted to main engine |
|
70 EPluginScopeMainEngine, |
|
71 |
|
72 // Filter first inserted to adjustment engine |
|
73 EPluginScopeAdjustmentEngine, |
|
74 |
|
75 // Plugin is a singleton, only top element survives |
|
76 EPluginScopeSingletonTop, |
|
77 |
|
78 // Invalid |
|
79 EPluginScopeMax |
|
80 }; |
|
81 |
|
82 enum TPgnCommandId |
|
83 { |
|
84 // Use AVKON softkey commands where possible |
|
85 EPgnSoftkeyIdOptions = EAknSoftkeyOptions, |
|
86 EPgnSoftkeyIdExit = EAknSoftkeyExit, |
|
87 EPgnSoftkeyIdOk = EAknSoftkeyOk, |
|
88 EPgnSoftkeyIdCancel = EAknSoftkeyCancel, |
|
89 EPgnSoftkeyIdBack = EAknSoftkeyBack, |
|
90 EPgnSoftkeyIdSelect = EAknSoftkeySelect, |
|
91 EPgnSoftkeyIdInsert = EAknSoftkeyInsert, |
|
92 EPgnSoftkeyIdYes = EAknSoftkeyYes, |
|
93 EPgnSoftkeyIdNo = EAknSoftkeyNo, |
|
94 EPgnSoftkeyIdDone = EAknSoftkeyDone, |
|
95 EPgnSoftkeyIdClose = EAknSoftkeyClose, |
|
96 EPgnSoftkeyIdClear = EAknSoftkeyClear, |
|
97 EPgnSoftkeyIdSave = EAknSoftkeySave, |
|
98 EPgnSoftkeyIdEmpty = EAknSoftkeyEmpty, |
|
99 |
|
100 EPgnSoftkeyIdBase = 100000, |
|
101 EPgnSoftkeyIdSet = 100001, |
|
102 EPgnSoftkeyIdReduceRed = 100002, // <RedEye MSK> |
|
103 |
|
104 EPgnMenuCmdIdBase = 200000 |
|
105 }; |
|
106 |
|
107 #endif |