1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
17 #define __COEDEF_H__ |
17 #define __COEDEF_H__ |
18 |
18 |
19 #include <e32std.h> |
19 #include <e32std.h> |
20 #include <guldef.h> // only requried for limited source compatability with releases prior to 250 |
20 #include <guldef.h> // only requried for limited source compatability with releases prior to 250 |
21 |
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
28 #include <graphics/cone/coedefkeys.h> |
|
29 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
|
30 |
|
31 /** |
|
32 |
|
33 @publishedAll |
|
34 @released */ |
22 const TInt KCoeCustomColorsArrayValue=0x100057C2; |
35 const TInt KCoeCustomColorsArrayValue=0x100057C2; |
|
36 /** |
|
37 |
|
38 @publishedAll |
|
39 @released */ |
23 const TInt KCoeColorGray4=0x19bd6002; |
40 const TInt KCoeColorGray4=0x19bd6002; |
|
41 |
|
42 /** |
|
43 |
|
44 @publishedAll |
|
45 @released */ |
24 const TInt KCoeColorColor16=0x19bd6003; |
46 const TInt KCoeColorColor16=0x19bd6003; |
|
47 |
|
48 /** |
|
49 |
|
50 @publishedAll |
|
51 @released */ |
25 const TInt ECoeResourceSignatureValue=4; |
52 const TInt ECoeResourceSignatureValue=4; |
|
53 |
26 |
54 |
27 /** Event handling flags. |
55 /** Event handling flags. |
28 |
56 |
29 These should be returned by CCoeControl::OfferKeyEventL() to indicate whether |
57 These should be returned by CCoeControl::OfferKeyEventL() to indicate whether |
30 or not a key event was processed by the control. |
58 or not a key event was processed by the control. |
77 /** 1000 */ |
105 /** 1000 */ |
78 ECoeWinPriorityAlwaysAtFront =1000 |
106 ECoeWinPriorityAlwaysAtFront =1000 |
79 }; |
107 }; |
80 |
108 |
81 /** The message UID sent when a colour scheme change event occurs. |
109 /** The message UID sent when a colour scheme change event occurs. |
82 |
110 WARNING: Constants for internal use ONLY. Compatibility is not guaranteed in future releases. |
83 @internalTechnology */ |
111 */ |
84 const TInt KUidValueCoeColorSchemeChangeEvent =0x100056C4; |
112 const TInt KUidValueCoeColorSchemeChangeEvent =0x100056C4; |
85 const TInt KUidValueCoeZoomChangeEvent =0x100057C3; |
113 const TInt KUidValueCoeZoomChangeEvent =0x100057C3; |
86 const TInt KUidValueCoeFontChangeEvent =0x100057C4; |
114 const TInt KUidValueCoeFontChangeEvent =0x100057C4; |
87 |
|
88 /** @internalTechnology */ |
|
89 const TUint KUidFepFrameworkRepository=0x10272618; |
|
90 |
|
91 /** @internalTechnology */ |
|
92 enum // key-masks and keys for the "KUidFepFrameworkRepository" repository |
|
93 { |
|
94 ERepositoryKeyMask_DefaultSetting =0x00001000, |
|
95 ERepositoryKeyMask_DynamicSetting =0x00002000, |
|
96 |
|
97 ERepositoryKeyMask_FepId =0x00000001, |
|
98 ERepositoryKeyMask_OnState =0x00000002, |
|
99 ERepositoryKeyMask_OnKeyData =0x00000004, |
|
100 ERepositoryKeyMask_OffKeyData =0x00000008, |
|
101 |
|
102 ERepositoryKey_DefaultFepId =ERepositoryKeyMask_DefaultSetting|ERepositoryKeyMask_FepId, |
|
103 ERepositoryKey_DefaultOnState =ERepositoryKeyMask_DefaultSetting|ERepositoryKeyMask_OnState, |
|
104 ERepositoryKey_DefaultOnKeyData =ERepositoryKeyMask_DefaultSetting|ERepositoryKeyMask_OnKeyData, |
|
105 ERepositoryKey_DefaultOffKeyData =ERepositoryKeyMask_DefaultSetting|ERepositoryKeyMask_OffKeyData, |
|
106 |
|
107 ERepositoryKey_DynamicFepId =ERepositoryKeyMask_DynamicSetting|ERepositoryKeyMask_FepId, |
|
108 ERepositoryKey_DynamicOnState =ERepositoryKeyMask_DynamicSetting|ERepositoryKeyMask_OnState, |
|
109 ERepositoryKey_DynamicOnKeyData =ERepositoryKeyMask_DynamicSetting|ERepositoryKeyMask_OnKeyData, |
|
110 ERepositoryKey_DynamicOffKeyData =ERepositoryKeyMask_DynamicSetting|ERepositoryKeyMask_OffKeyData |
|
111 }; |
|
112 |
|
113 /** @internalTechnology */ |
|
114 #if defined(_DEBUG) |
|
115 #define __DEBUG_CHECK_HEAP_INTEGRITY User::Heap().Check() |
|
116 #else |
|
117 #define __DEBUG_CHECK_HEAP_INTEGRITY |
|
118 #endif |
|
119 |
115 |
120 /** Control key modifier. |
116 /** Control key modifier. |
121 |
117 |
122 Key codes get changed when the Ctrl key modifier is pressed at the same time as the key . |
118 Key codes get changed when the Ctrl key modifier is pressed at the same time as the key . |
123 The CTRL macro is used to shift the key character appropriately. |
119 The CTRL macro is used to shift the key character appropriately. |