30
|
1 |
/*
|
|
2 |
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Calendar controller commands
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef CALENCOMMANDS_HRH
|
|
19 |
#define CALENCOMMANDS_HRH
|
|
20 |
|
|
21 |
/**
|
|
22 |
* @enum TCalenCommandBase
|
|
23 |
* @brief Commands for each action ui.
|
|
24 |
* We start from 10000 because otherwise we might overlap other command ranges,
|
|
25 |
* e.g. Avkon == 3000.
|
|
26 |
*/
|
|
27 |
|
|
28 |
|
|
29 |
enum TCalenCommandBase
|
|
30 |
{
|
|
31 |
ECalenViewCommandBase = 20000,
|
|
32 |
ECalenEditCommandBase = 20100,
|
|
33 |
ECalenDeleteCommandBase = 20200,
|
|
34 |
ECalenSettingsCommandBase = 20300,
|
|
35 |
ECalenMapCommandBase = 20400,
|
|
36 |
ECalenMissedAlarmCommandBase = 20500,
|
|
37 |
ECalenAttachmentCommandBase = 20600
|
|
38 |
};
|
|
39 |
|
|
40 |
/**
|
|
41 |
* @enum TCalenCommandId
|
|
42 |
* @brief All possible commands
|
|
43 |
*/
|
|
44 |
enum TCalenCommandId
|
|
45 |
{
|
|
46 |
ECalenMonthView = ECalenViewCommandBase,
|
|
47 |
ECalenWeekView,
|
|
48 |
ECalenDayView,
|
|
49 |
ECalenTodoView,
|
|
50 |
ECalenForwardsToDayView,
|
|
51 |
ECalenForwardsToWeekView,
|
|
52 |
ECalenNextView,
|
|
53 |
ECalenPrevView,
|
|
54 |
ECalenSwitchView,
|
|
55 |
ECalenShowToolbar,
|
|
56 |
ECalenHideToolbar,
|
|
57 |
ECalenUpdateToolbar,
|
|
58 |
ECalenHidePreview,
|
|
59 |
ECalenShowPreview,
|
|
60 |
ECalenStartActiveStep,
|
|
61 |
ECalenGotoToday,
|
|
62 |
ECalenGotoDate,
|
|
63 |
ECalenEventView,
|
|
64 |
ECalenCmdPromptThenEdit,
|
|
65 |
ECalenCmdFindPhoneNum,
|
|
66 |
ECalenCmdFindEmail,
|
|
67 |
ECalenCmdFindURL,
|
|
68 |
ECalenFasterAppExit,
|
|
69 |
ECalenNewMeeting = ECalenEditCommandBase,
|
|
70 |
ECalenNewTodo,
|
|
71 |
ECalenNewAnniv,
|
|
72 |
ECalenNewDayNote,
|
|
73 |
ECalenNewReminder,
|
|
74 |
ECalenNewMeetingRequest,
|
|
75 |
ECalenNewMeetingTimeSpan,
|
|
76 |
ECalenEditCurrentEntry,
|
|
77 |
ECalenEditSeries,
|
|
78 |
ECalenEditOccurrence,
|
|
79 |
ECalenViewCurrentEntry,
|
|
80 |
ECalenNotifyFocusChange,
|
|
81 |
ECalenCompleteTodo,
|
|
82 |
ECalenRestoreTodo,
|
|
83 |
ECalenSend,
|
|
84 |
ECalenMarkEntryAsDone,
|
|
85 |
ECalenMarkEntryAsUnDone,
|
|
86 |
ECalenDeleteCurrentEntry = ECalenDeleteCommandBase,
|
|
87 |
ECalenDeleteEntryWithoutQuery,
|
|
88 |
ECalenDeleteSeries,
|
|
89 |
ECalenDeleteCurrentOccurrence,
|
|
90 |
ECalenDeleteAllEntries,
|
|
91 |
ECalenDeleteEntriesBeforeDate,
|
|
92 |
ECalenCancelDelete,
|
|
93 |
ECalenShowSettings = ECalenSettingsCommandBase,
|
|
94 |
ECalenShowCalendars,
|
|
95 |
ECalenGetLocation = ECalenMapCommandBase,
|
|
96 |
ECalenShowLocation,
|
|
97 |
ECalenGetLocationAndSave,
|
|
98 |
ECalenGetLocationAndReplace,
|
|
99 |
ECalenShowLocationQuery,
|
|
100 |
ECalenMissedAlarmsView = ECalenMissedAlarmCommandBase,
|
|
101 |
ECalenMissedEventView,
|
|
102 |
ECalenCmdClear,
|
|
103 |
ECalenCmdClearAll,
|
|
104 |
ECalenCmdGotoCalendar,
|
|
105 |
ECalenMissedAlarmsViewFromIdle,
|
|
106 |
ECalenMissedEventViewFromIdle,
|
|
107 |
ECalenEventViewFromAlarm,
|
|
108 |
ECalenEventViewFromAlarmStopOnly,
|
|
109 |
ECalenAddAttachment = ECalenAttachmentCommandBase,
|
|
110 |
ECalenAddAttachmentFromViewer,
|
|
111 |
ECalenRemoveAttachment,
|
|
112 |
ECalenViewAttachmentList,
|
|
113 |
|
|
114 |
ECalenLastCommand
|
|
115 |
};
|
|
116 |
|
|
117 |
#endif // CALENCOMMANDS_HRH
|
|
118 |
|
|
119 |
// End of file
|