calendarui/inc/calendar.hrh
changeset 18 c198609911f9
parent 0 f979ecb2b13e
child 89 b57382753122
equal deleted inserted replaced
0:f979ecb2b13e 18:c198609911f9
    18 
    18 
    19 
    19 
    20 #ifndef CALENDAR_HRH
    20 #ifndef CALENDAR_HRH
    21 #define CALENDAR_HRH
    21 #define CALENDAR_HRH
    22 
    22 
    23 #include <avkon.hrh>
    23 //#include <avkon.hrh>
    24 #include "CalendarVariant.hrh"
    24 //#include "CalendarVariant.hrh"
    25 
    25 
    26 
    26 
    27 
    27 
    28 enum TCalenExternalCommands
    28 enum TCalenExternalCommands
    29     {
    29     {
    42     ECalenMarkOne,
    42     ECalenMarkOne,
    43     ECalenUnmarkOne,
    43     ECalenUnmarkOne,
    44     ECalenMarkAll,
    44     ECalenMarkAll,
    45     ECalenUnmarkAll,
    45     ECalenUnmarkAll,
    46 
    46 
    47     ECalenCmdComplete,
       
    48     ECalenMarkDone,
       
    49     ECalenMarkUnDone,
       
    50 
    47 
    51     ECalenCmdChangeView,
    48     ECalenCmdChangeView,
    52 
    49 
    53     
    50     
    54     /* Settings view */
    51     /* Settings view */
    55     //ECalenCmdSetting,
    52     //ECalenCmdSetting,
    56     ECalenCmdChange,
    53     ECalenCmdChange,
    57 		
       
    58 	/* Event view From alarm commands */
       
    59     ECalenStopAlarm,
       
    60     ECalenSnoozeAlarm,
       
    61 
    54 
    62     /* Misc commands */
    55     /* Misc commands */
    63 #ifdef RD_CALEN_ENHANCED_MSK 
    56 //#ifdef RD_CALEN_ENHANCED_MSK 
    64 	ECalenCmdOpenMskDialog,
    57 	//ECalenCmdOpenMskDialog,
    65 #endif //RD_CALEN_ENHANCED_MSK
    58 //#endif //RD_CALEN_ENHANCED_MSK
    66 
    59 
    67     /* Meeting request commands*/
    60     /* Meeting request commands*/
    68     ECalenCmdSendResponse,
    61     ECalenCmdSendResponse,
    69     ECalenCmdShowAttendees,
    62     ECalenCmdShowAttendees,
    70     ECalenCmdSendAccept,
    63     ECalenCmdSendAccept,
    72     ECalenCmdSendDecline,
    65     ECalenCmdSendDecline,
    73 
    66 
    74     /* End of common commands */ 
    67     /* End of common commands */ 
    75     ECalenCmdLast, 
    68     ECalenCmdLast, 
    76     ECalenRegionalVariantCmdFirst = 100160 
    69     ECalenRegionalVariantCmdFirst = 100160 
    77     };
       
    78 
       
    79 enum TCalenDayViewCommands
       
    80     {
       
    81     ECalenCopyToCalendars = 100161
       
    82     };
    70     };
    83 
    71 
    84 // Do not use this directly but through ItemToArrayIndex,
    72 // Do not use this directly but through ItemToArrayIndex,
    85 // because regional variator can add their own setting items between
    73 // because regional variator can add their own setting items between
    86 // these setting items
    74 // these setting items
    94     ECalenWeekTitleItemId,
    82     ECalenWeekTitleItemId,
    95     ECalenExtCalendarItemId,
    83     ECalenExtCalendarItemId,
    96     ECalenDefaultMailboxId,
    84     ECalenDefaultMailboxId,
    97     ECalenToolbarItemId,
    85     ECalenToolbarItemId,
    98     ECalenPluginListItemId,
    86     ECalenPluginListItemId,
    99     ECalenInfoBarPluginsItemId,
       
   100     ECalenRegionalVariantSettingListItemIdFirst = 6020
    87     ECalenRegionalVariantSettingListItemIdFirst = 6020
   101     };
    88     };
   102 
    89 
   103 
    90 
   104 // Assume there are less than 1000 Uikon controls, 
    91 // Assume there are less than 1000 Uikon controls, 
   159     {
   146     {
   160     ETodoPriorityHigh = 1,
   147     ETodoPriorityHigh = 1,
   161     ETodoPriorityNormal,
   148     ETodoPriorityNormal,
   162     ETodoPriorityLow
   149     ETodoPriorityLow
   163     };
   150     };
   164 enum //
   151     
   165     {
       
   166     ECalenCmdEdit = 1,
       
   167     ECalenCmdAdd,
       
   168     ECalenCmdDelete,
       
   169     ECalenCmdItemSelect,
       
   170     ECalenCmdItemDeselect,
       
   171     ECalenCmdShow,
       
   172     ECalenCmdHide
       
   173     };
       
   174 
   152 
   175 enum
       
   176     {
       
   177     ECalenMultiDbName = 5000,
       
   178     ECalenMultiDbColor,
       
   179     ECalenMultiDbPublicPrivate,
       
   180     ECalenMultiDbHiddenVisible,
       
   181     ECalenMultiDbSyncStatus
       
   182     };
       
   183 
       
   184  enum
       
   185     {
       
   186     ECalenMultiDbHelp = 1,
       
   187     ECalenMultiDbExit
       
   188     };
       
   189  
       
   190  enum TCalenAttachmentCommands
       
   191      {
       
   192      ECalenAddImage,
       
   193      ECalenAddNote,
       
   194      ECalenAddAudio,
       
   195      ECalenAddVideo,
       
   196      ECalenAddOtherFiles,
       
   197      ECalenViewAttachmentCmdOpen,
       
   198      ECalenViewAttachmentCmdSave,
       
   199      ECalenViewAttachmentCmdRemove,
       
   200      ECalenViewAttachmentAdd,
       
   201      ECalenViewAttachmentCmdFetch,
       
   202      ECalenViewerCmdAttachmentCmdExit
       
   203      };
       
   204  
       
   205  // dialog control ids.
       
   206  enum TCalenAttachmentDlgCtrlIds
       
   207      {
       
   208      ECalenAttachmentListBoxId = 1,
       
   209      ECalenCannotOpenNoteId,
       
   210      ECalenSavedNoteId,
       
   211      ECalenWaitNoteId
       
   212      };
       
   213  
       
   214  // custom control types.
       
   215  enum TCalenAttachmentDlgCustomControls
       
   216      {
       
   217      ECalenAttachmentListBox = 0x2001
       
   218      };
       
   219  
       
   220 #define CALEN_VIEW_CYCLING_NEXT '#'
   153 #define CALEN_VIEW_CYCLING_NEXT '#'
   221 #define CALEN_VIEW_CYCLING_PREV '*'
   154 #define CALEN_VIEW_CYCLING_PREV '*'
   222 
   155 
   223 // Event colours
   156 // Event colours
   224 #define cell_cale_public_event_c   210  // blue
   157 #define cell_cale_public_event_c   210  // blue
   230 //Meeting Request Colours
   163 //Meeting Request Colours
   231 #define cell_cale_accepted_mr       210 // blue, RGB (0, 0, 255)
   164 #define cell_cale_accepted_mr       210 // blue, RGB (0, 0, 255)
   232 #define cell_cale_tentative_mr      114 // light blue, RGB (102, 204, 255)
   165 #define cell_cale_tentative_mr      114 // light blue, RGB (102, 204, 255)
   233 #define cell_cale_cancelled_mr       35 // red, RGB (255, 0, 0)
   166 #define cell_cale_cancelled_mr       35 // red, RGB (255, 0, 0)
   234 
   167 
   235  enum
       
   236      {
       
   237      /// Enable Ok button for calender selection dialog
       
   238      ECalenSelectCmdOk = 3000
       
   239      };
       
   240 
   168 
   241 #endif // end of CALENDAR_HRH
   169 #endif // end of CALENDAR_HRH
   242 
   170 
   243 
   171 
   244 // End of File
   172 // End of File