32 #define KToDoMinHour 0 |
32 #define KToDoMinHour 0 |
33 #define KToDoMaxSecond 59 |
33 #define KToDoMaxSecond 59 |
34 #define KToDoMaxMinute 59 |
34 #define KToDoMaxMinute 59 |
35 #define KToDoMaxHour 23 |
35 #define KToDoMaxHour 23 |
36 |
36 |
37 enum // |
37 enum TCalenEditorMenuPaneCommands |
38 { |
38 { |
39 // THIS RANGE SHOULD NOT OVERLAP WITH CALENDAR RANGE |
39 // THIS RANGE SHOULD NOT OVERLAP WITH CALENDAR RANGE |
40 //always hidden, allows easy adding of items to beginning of menu |
40 //always hidden, allows easy adding of items to beginning of menu |
41 ECalenCmdFirstMenuItem = 5000, |
41 ECalenCommandFirstMenuItem = 5000, |
42 |
42 |
43 /* Description data commands */ |
43 /* Description data commands */ |
44 ECalenCmdAddDescription, |
44 ECalenCmdAddDescription, |
45 ECalenCmdAddDescriptionNew, |
45 ECalenCmdAddDescriptionNew, |
46 ECalenCmdAddDescriptionExisting, |
46 ECalenCmdAddDescriptionExisting, |
80 }; |
80 }; |
81 |
81 |
82 |
82 |
83 enum //TCalenNoteCustomControls |
83 enum //TCalenNoteCustomControls |
84 { |
84 { |
85 ECalenCtDescriptionField = KAknCtLastControlId + 1 |
85 ECalenCtDescriptionField = KAknCtLastControlId + 1, |
|
86 ECalenCtLunarDateEditor |
86 }; |
87 }; |
87 |
88 |
88 enum //TCalenNoteFormConstant |
89 enum //TCalenNoteFormConstant |
89 { |
90 { |
90 // This is absolute maximum length for text editors. |
91 // This is absolute maximum length for text editors. |
94 // Use e.g. MaxTextEditorLength in CalenNoteForm. |
95 // Use e.g. MaxTextEditorLength in CalenNoteForm. |
95 ECalenAbsoluteMaxTextEditorLength = 160 |
96 ECalenAbsoluteMaxTextEditorLength = 160 |
96 }; |
97 }; |
97 |
98 |
98 /* Constants */ |
99 /* Constants */ |
99 |
|
100 enum // TCalenMinTime |
|
101 { |
|
102 ECalenMinDay = 0, |
|
103 ECalenMinMonth = 0, |
|
104 ECalenMinYear = 1900, |
|
105 ECalenMinSecond = 0, |
|
106 ECalenMinMinute = 0, |
|
107 ECalenMinHour = 0, |
|
108 ECalenMinAnnivYear = 1900 |
|
109 }; |
|
110 |
|
111 enum // TCalenMaxTime |
|
112 { |
|
113 ECalenMaxDay = 29, |
|
114 ECalenMaxMonth = 11, |
|
115 ECalenMaxYear = 2100, |
|
116 ECalenMaxSecond = 59, |
|
117 ECalenMaxMinute = 59, |
|
118 ECalenMaxHour = 23, |
|
119 ECalenMaxAnnivYear = 2100 // FIXME, could be removed? |
|
120 }; |
|
121 |
100 |
122 /** |
101 /** |
123 * Date representing forever value in Repeat until field. |
102 * Date representing forever value in Repeat until field. |
124 */ |
103 */ |
125 enum |
104 enum |
154 ECalenEditorRepeatUntil, |
133 ECalenEditorRepeatUntil, |
155 ECalenEditorPriority, |
134 ECalenEditorPriority, |
156 ECalenEditorPeople, |
135 ECalenEditorPeople, |
157 ECalenEditorDBName, |
136 ECalenEditorDBName, |
158 ECalenEditorAttachment, |
137 ECalenEditorAttachment, |
159 ECalenEditorDescription |
138 ECalenEditorDescription, |
|
139 EKoreanLunarAniversityStart, |
|
140 EKoreanLunarTypeSelectSolarLunarLeap |
160 }; |
141 }; |
161 |
142 |
162 |
143 |
163 #endif // __CALENDEFAULTEDITORS_HRH__ |
144 #endif // __CALENDEFAULTEDITORS_HRH__ |
164 |
145 |