/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: This file contains declarations for resources of Calendar.
* The file can be included in C++ or resource file.
*
*/
#ifndef CALENDAR_HRH
#define CALENDAR_HRH
#include <avkon.hrh>
#include "CalendarVariant.hrh"
enum TCalenExternalCommands
{
ECalenExtAiwCommandId = 100000
};
// Command ID of menu pane.
// e.g "Edit", "Erase", "Settings", "Send as" etc.
enum TCalenMenuPaneCommands
{
//always hidden, allows easy adding of items to beginning of menu
ECalenCmdFirstMenuItem = 10100,
/* List commands */
ECalenCmdMark,
ECalenMarkOne,
ECalenUnmarkOne,
ECalenMarkAll,
ECalenUnmarkAll,
ECalenCmdComplete,
ECalenMarkDone,
ECalenMarkUnDone,
ECalenCmdChangeView,
/* Settings view */
//ECalenCmdSetting,
ECalenCmdChange,
/* Event view From alarm commands */
ECalenStopAlarm,
ECalenSnoozeAlarm,
/* Misc commands */
#ifdef RD_CALEN_ENHANCED_MSK
ECalenCmdOpenMskDialog,
#endif //RD_CALEN_ENHANCED_MSK
/* Meeting request commands*/
ECalenCmdSendResponse,
ECalenCmdShowAttendees,
ECalenCmdSendAccept,
ECalenCmdSendTentative,
ECalenCmdSendDecline,
/* End of common commands */
ECalenCmdLast,
ECalenRegionalVariantCmdFirst = 100160
};
enum TCalenDayViewCommands
{
ECalenCopyToCalendars = 100161
};
// Do not use this directly but through ItemToArrayIndex,
// because regional variator can add their own setting items between
// these setting items
enum TSettingListItemId
{
ECalenSettingListItemIdHead = 6000,
ECalenAlarmToneItemId,
ECalenSnoozeTimeItemId,
ECalenDefaultViewItemId,
ECalenWeekFormatItemId,
ECalenWeekNumberItemId,
ECalenWeekTitleItemId,
ECalenExtCalendarItemId,
ECalenDefaultMailboxId,
ECalenToolbarItemId,
ECalenPluginListItemId,
ECalenInfoBarPluginsItemId,
ECalenRegionalVariantSettingListItemIdFirst = 6020
};
// Assume there are less than 1000 Uikon controls,
// and they can't be defined anywhere else.
enum TCustomControl
{
ECalenCtrlTypeSettingItemList = 1000,
ECalenRegionalVariantCustomControlFirst
};
enum CCalenSettingFormCtls
{
ECalenSettingItemList = 10100
};
/* Constants */
enum TCalenMinTime
{
ECalenMinDay = 0,
ECalenMinMonth = 0,
ECalenMinYear = 1900,
ECalenMinSecond = 0,
ECalenMinMinute = 0,
ECalenMinHour = 0,
ECalenMinAnnivYear = 1900
};
enum TCalenMaxTime
{
ECalenMaxDay = 29,
ECalenMaxMonth = 11,
ECalenMaxYear = 2100,
ECalenMaxSecond = 59,
ECalenMaxMinute = 59,
ECalenMaxHour = 23,
ECalenMaxAnnivYear = 2100
};
enum TCalenOthers
{
ECalenCharsInLine = 200
};
enum // TCalenRepeat
{
ECalenRepeatThis,
ECalenRepeatAll,
ECalenRepeatThisFuture,
ECalenRepeatThisPast
};
enum // TTodoPriority
{
ETodoPriorityHigh = 1,
ETodoPriorityNormal,
ETodoPriorityLow
};
enum //
{
ECalenCmdEdit = 1,
ECalenCmdAdd,
ECalenCmdDelete,
ECalenCmdItemSelect,
ECalenCmdItemDeselect,
ECalenCmdShow,
ECalenCmdHide
};
enum
{
ECalenMultiDbName = 5000,
ECalenMultiDbColor,
ECalenMultiDbPublicPrivate,
ECalenMultiDbHiddenVisible,
ECalenMultiDbSyncStatus
};
enum
{
ECalenMultiDbHelp = 1,
ECalenMultiDbExit
};
enum TCalenAttachmentCommands
{
ECalenAddImage,
ECalenAddNote,
ECalenAddAudio,
ECalenAddVideo,
ECalenAddOtherFiles,
ECalenViewAttachmentCmdOpen,
ECalenViewAttachmentCmdSave,
ECalenViewAttachmentCmdRemove,
ECalenViewAttachmentAdd,
ECalenViewAttachmentCmdFetch,
ECalenViewerCmdAttachmentCmdExit
};
// dialog control ids.
enum TCalenAttachmentDlgCtrlIds
{
ECalenAttachmentListBoxId = 1,
ECalenCannotOpenNoteId,
ECalenSavedNoteId,
ECalenWaitNoteId
};
// custom control types.
enum TCalenAttachmentDlgCustomControls
{
ECalenAttachmentListBox = 0x2001
};
#define CALEN_VIEW_CYCLING_NEXT '#'
#define CALEN_VIEW_CYCLING_PREV '*'
// Event colours
#define cell_cale_public_event_c 210 // blue
#define cell_cale_private_event_c 35 // red
#define cell_cale_unsynch_event_c 14 // light red (dimmed 35)
#define cell_cale_many_event_c 107 // dark red
#define cell_cale_grayed_event_c 221
//Meeting Request Colours
#define cell_cale_accepted_mr 210 // blue, RGB (0, 0, 255)
#define cell_cale_tentative_mr 114 // light blue, RGB (102, 204, 255)
#define cell_cale_cancelled_mr 35 // red, RGB (255, 0, 0)
enum
{
/// Enable Ok button for calender selection dialog
ECalenSelectCmdOk = 3000
};
//Colors of color grid in Muliple calendars view
#define KCalenDarkBlue TRgb(0x792B00)
#define KCalenBlue TRgb(0xC0580F)
#define KCalenCyan TRgb(0xB0A157)
#define KCalenlightBlue TRgb(0xF5D8B3)
#define KCalenDarkGreen TRgb(0x1C4C02)
#define KCalenGreen TRgb(0x359C50)
#define KCalenlightGreen TRgb(0x53D292)
#define KCalenGold TRgb(0x5BDDDC)
#define KCalenDarkRed TRgb(0x0A12B8)
#define KCalenOrange TRgb(0x009DFF)
#define KCalenYellow TRgb(0x05E8FF)
#define KCalenDarkOrange TRgb(0x2D63D4)
#define KCalenMegenta TRgb(0xA4006D)
#define KCalenlightMagenta TRgb(0xE68DA7)
#define KCalenlightPink TRgb(0xCFACFF)
#define KCalenPink TRgb(0x8217E0)
#endif // end of CALENDAR_HRH
// End of File