calendarui/editors/inc/CalenDefaultEditors.hrh
branchRCL_3
changeset 86 ed599363c2d7
parent 74 97232defd20e
equal deleted inserted replaced
78:356f28cd5ca0 86:ed599363c2d7
    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 TCalenEditorMenuPaneCommands
    37 enum //
    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     ECalenCommandFirstMenuItem = 5000, 
    41     ECalenCmdFirstMenuItem = 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
       
    87     };
    86     };
    88 
    87 
    89 enum //TCalenNoteFormConstant
    88 enum //TCalenNoteFormConstant
    90     {
    89     {
    91     // This is absolute maximum length for text editors.
    90     // This is absolute maximum length for text editors.
    95     // Use e.g. MaxTextEditorLength in CalenNoteForm. 
    94     // Use e.g. MaxTextEditorLength in CalenNoteForm. 
    96     ECalenAbsoluteMaxTextEditorLength = 160 
    95     ECalenAbsoluteMaxTextEditorLength = 160 
    97     };
    96     };
    98     
    97     
    99     /* Constants */
    98     /* 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     };
   100 
   121 
   101 /**
   122 /**
   102  * Date representing forever value in Repeat until field.
   123  * Date representing forever value in Repeat until field.
   103  */
   124  */
   104 enum
   125 enum
   133     ECalenEditorRepeatUntil,
   154     ECalenEditorRepeatUntil,
   134     ECalenEditorPriority,
   155     ECalenEditorPriority,
   135     ECalenEditorPeople,
   156     ECalenEditorPeople,
   136     ECalenEditorDBName,
   157     ECalenEditorDBName,
   137     ECalenEditorAttachment,
   158     ECalenEditorAttachment,
   138     ECalenEditorDescription,
   159     ECalenEditorDescription
   139     EKoreanLunarAniversityStart,
       
   140     EKoreanLunarTypeSelectSolarLunarLeap
       
   141     };
   160     };
   142 
   161 
   143 
   162 
   144 #endif // __CALENDEFAULTEDITORS_HRH__
   163 #endif // __CALENDEFAULTEDITORS_HRH__
   145 
   164