calendarui/inc/calendar.hrh
branchRCL_3
changeset 66 bd7edf625bdd
parent 65 12af337248b1
equal deleted inserted replaced
65:12af337248b1 66:bd7edf625bdd
    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,
    47 
    50 
    48     ECalenCmdChangeView,
    51     ECalenCmdChangeView,
    49 
    52 
    50     
    53     
    51     /* Settings view */
    54     /* Settings view */
    52     //ECalenCmdSetting,
    55     //ECalenCmdSetting,
    53     ECalenCmdChange,
    56     ECalenCmdChange,
       
    57 		
       
    58 	/* Event view From alarm commands */
       
    59     ECalenStopAlarm,
       
    60     ECalenSnoozeAlarm,
    54 
    61 
    55     /* Misc commands */
    62     /* Misc commands */
    56 //#ifdef RD_CALEN_ENHANCED_MSK 
    63 #ifdef RD_CALEN_ENHANCED_MSK 
    57 	//ECalenCmdOpenMskDialog,
    64 	ECalenCmdOpenMskDialog,
    58 //#endif //RD_CALEN_ENHANCED_MSK
    65 #endif //RD_CALEN_ENHANCED_MSK
    59 
    66 
    60     /* Meeting request commands*/
    67     /* Meeting request commands*/
    61     ECalenCmdSendResponse,
    68     ECalenCmdSendResponse,
    62     ECalenCmdShowAttendees,
    69     ECalenCmdShowAttendees,
    63     ECalenCmdSendAccept,
    70     ECalenCmdSendAccept,
    67     /* End of common commands */ 
    74     /* End of common commands */ 
    68     ECalenCmdLast, 
    75     ECalenCmdLast, 
    69     ECalenRegionalVariantCmdFirst = 100160 
    76     ECalenRegionalVariantCmdFirst = 100160 
    70     };
    77     };
    71 
    78 
       
    79 enum TCalenDayViewCommands
       
    80     {
       
    81     ECalenCopyToCalendars = 100161
       
    82     };
       
    83 
    72 // Do not use this directly but through ItemToArrayIndex,
    84 // Do not use this directly but through ItemToArrayIndex,
    73 // because regional variator can add their own setting items between
    85 // because regional variator can add their own setting items between
    74 // these setting items
    86 // these setting items
    75 enum TSettingListItemId
    87 enum TSettingListItemId
    76     {
    88     {
    77     ECalenSettingListItemIdHead = 6000,
    89     ECalenSettingListItemIdHead = 6000,
    78     ECalenAlarmToneItemId,
    90     ECalenAlarmToneItemId,
    79     ECalenSnoozeTimeItemId,
    91     ECalenSnoozeTimeItemId,
    80     ECalenDefaultViewItemId,
    92     ECalenDefaultViewItemId,
    81     ECalenWeekFormatItemId,
    93     ECalenWeekFormatItemId,
       
    94     ECalenWeekNumberItemId,
    82     ECalenWeekTitleItemId,
    95     ECalenWeekTitleItemId,
    83     ECalenExtCalendarItemId,
    96     ECalenExtCalendarItemId,
    84     ECalenDefaultMailboxId,
    97     ECalenDefaultMailboxId,
    85     ECalenToolbarItemId,
    98     ECalenToolbarItemId,
    86     ECalenPluginListItemId,
    99     ECalenPluginListItemId,
       
   100     ECalenInfoBarPluginsItemId,
    87     ECalenRegionalVariantSettingListItemIdFirst = 6020
   101     ECalenRegionalVariantSettingListItemIdFirst = 6020
    88     };
   102     };
    89 
   103 
    90 
   104 
    91 // Assume there are less than 1000 Uikon controls, 
   105 // Assume there are less than 1000 Uikon controls, 
   146     {
   160     {
   147     ETodoPriorityHigh = 1,
   161     ETodoPriorityHigh = 1,
   148     ETodoPriorityNormal,
   162     ETodoPriorityNormal,
   149     ETodoPriorityLow
   163     ETodoPriorityLow
   150     };
   164     };
   151     
   165 enum //
   152 
   166     {
       
   167     ECalenCmdEdit = 1,
       
   168     ECalenCmdAdd,
       
   169     ECalenCmdDelete,
       
   170     ECalenCmdItemSelect,
       
   171     ECalenCmdItemDeselect,
       
   172     ECalenCmdShow,
       
   173     ECalenCmdHide
       
   174     };
       
   175 
       
   176 enum
       
   177     {
       
   178     ECalenMultiDbName = 5000,
       
   179     ECalenMultiDbColor,
       
   180     ECalenMultiDbPublicPrivate,
       
   181     ECalenMultiDbHiddenVisible,
       
   182     ECalenMultiDbSyncStatus
       
   183     };
       
   184 
       
   185  enum
       
   186     {
       
   187     ECalenMultiDbHelp = 1,
       
   188     ECalenMultiDbExit
       
   189     };
       
   190  
       
   191  enum TCalenAttachmentCommands
       
   192      {
       
   193      ECalenAddImage,
       
   194      ECalenAddNote,
       
   195      ECalenAddAudio,
       
   196      ECalenAddVideo,
       
   197      ECalenAddOtherFiles,
       
   198      ECalenViewAttachmentCmdOpen,
       
   199      ECalenViewAttachmentCmdSave,
       
   200      ECalenViewAttachmentCmdRemove,
       
   201      ECalenViewAttachmentAdd,
       
   202      ECalenViewAttachmentCmdFetch,
       
   203      ECalenViewerCmdAttachmentCmdExit
       
   204      };
       
   205  
       
   206  // dialog control ids.
       
   207  enum TCalenAttachmentDlgCtrlIds
       
   208      {
       
   209      ECalenAttachmentListBoxId = 1,
       
   210      ECalenCannotOpenNoteId,
       
   211      ECalenSavedNoteId,
       
   212      ECalenWaitNoteId
       
   213      };
       
   214  
       
   215  // custom control types.
       
   216  enum TCalenAttachmentDlgCustomControls
       
   217      {
       
   218      ECalenAttachmentListBox = 0x2001
       
   219      };
       
   220  
   153 #define CALEN_VIEW_CYCLING_NEXT '#'
   221 #define CALEN_VIEW_CYCLING_NEXT '#'
   154 #define CALEN_VIEW_CYCLING_PREV '*'
   222 #define CALEN_VIEW_CYCLING_PREV '*'
   155 
   223 
   156 // Event colours
   224 // Event colours
   157 #define cell_cale_public_event_c   210  // blue
   225 #define cell_cale_public_event_c   210  // blue
   163 //Meeting Request Colours
   231 //Meeting Request Colours
   164 #define cell_cale_accepted_mr       210 // blue, RGB (0, 0, 255)
   232 #define cell_cale_accepted_mr       210 // blue, RGB (0, 0, 255)
   165 #define cell_cale_tentative_mr      114 // light blue, RGB (102, 204, 255)
   233 #define cell_cale_tentative_mr      114 // light blue, RGB (102, 204, 255)
   166 #define cell_cale_cancelled_mr       35 // red, RGB (255, 0, 0)
   234 #define cell_cale_cancelled_mr       35 // red, RGB (255, 0, 0)
   167 
   235 
   168 
   236  enum
       
   237      {
       
   238      /// Enable Ok button for calender selection dialog
       
   239      ECalenSelectCmdOk = 3000
       
   240      };
       
   241 
       
   242 //Colors of color grid in Muliple calendars view
       
   243 #define KCalenDarkBlue      TRgb(0x792B00)
       
   244 #define KCalenBlue          TRgb(0xC0580F)
       
   245 #define KCalenCyan          TRgb(0xB0A157)
       
   246 #define KCalenlightBlue     TRgb(0xF5D8B3)
       
   247 #define KCalenDarkGreen     TRgb(0x1C4C02)
       
   248 #define KCalenGreen         TRgb(0x359C50)
       
   249 #define KCalenlightGreen    TRgb(0x53D292)
       
   250 #define KCalenGold          TRgb(0x5BDDDC)
       
   251 #define KCalenDarkRed       TRgb(0x0A12B8)
       
   252 #define KCalenOrange        TRgb(0x009DFF)
       
   253 #define KCalenYellow        TRgb(0x05E8FF)
       
   254 #define KCalenDarkOrange    TRgb(0x2D63D4)
       
   255 #define KCalenMegenta       TRgb(0xA4006D)
       
   256 #define KCalenlightMagenta  TRgb(0xE68DA7)
       
   257 #define KCalenlightPink     TRgb(0xCFACFF)
       
   258 #define KCalenPink          TRgb(0x8217E0)
   169 #endif // end of CALENDAR_HRH
   259 #endif // end of CALENDAR_HRH
   170 
   260 
   171 
   261 
   172 // End of File
   262 // End of File