calendarui/views/dayview/tsrc/unittests/unittest_calendayview/hb_calencommands.hrh
changeset 75 7ac58b2aae6f
parent 72 27feeedec790
child 79 6ff09f16627b
child 81 ce92091cbd61
equal deleted inserted replaced
72:27feeedec790 75:7ac58b2aae6f
     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 
       
    19 #ifndef HB_CALENCOMMANDS_HRH
       
    20 #define HB_CALENCOMMANDS_HRH
       
    21 
       
    22 
       
    23 // 1000 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 enum TCalenCommandBase
       
    28     {
       
    29     ECalenViewCommandBase               = 20000,
       
    30     ECalenEditCommandBase               = 20100,
       
    31     ECalenDeleteCommandBase             = 20200,
       
    32     ECalenSettingsCommandBase           = 20300,
       
    33     ECalenMapCommandBase		= 20400,
       
    34     ECalenMissedAlarmCommandBase 	= 20500
       
    35     };
       
    36 
       
    37 enum TCalenCommandId
       
    38     {
       
    39     ECalenMonthView                             = ECalenViewCommandBase,
       
    40     ECalenWeekView,
       
    41     ECalenAgendaView,
       
    42     ECalenDayView,
       
    43     ECalenTodoEditor,
       
    44     ECalenTodoEditorDone,
       
    45     ECalenForwardsToDayView,
       
    46     ECalenNextView,
       
    47     ECalenPrevView,
       
    48     ECalenSwitchView,
       
    49     ECalenShowToolbar,
       
    50     ECalenHideToolbar,
       
    51     ECalenUpdateToolbar,
       
    52     ECalenHidePreview,
       
    53     ECalenShowPreview,
       
    54     ECalenStartActiveStep,
       
    55     ECalenGotoToday,
       
    56     ECalenGotoDate,
       
    57     ECalenEventView,
       
    58     ECalenCmdPromptThenEdit,    
       
    59     ECalenFasterAppExit,
       
    60     ECalenShowNextDay,
       
    61     ECalenShowPrevDay,
       
    62     ECalenNewMeeting                            = ECalenEditCommandBase,
       
    63     ECalenNewAnniv,
       
    64     ECalenNewDayNote,
       
    65     ECalenNewReminder,
       
    66     ECalenNewMeetingRequest,
       
    67     ECalenNewEntry, 
       
    68     ECalenEditCurrentEntry,
       
    69     ECalenEditSeries,
       
    70     ECalenEditOccurrence,
       
    71     ECalenEditEntryFromViewer,
       
    72     ECalenViewCurrentEntry,
       
    73     ECalenNotifyFocusChange,
       
    74     ECalenCompleteTodo,
       
    75     ECalenRestoreTodo,
       
    76     ECalenSend,
       
    77     ECalenDeleteCurrentEntry                    = ECalenDeleteCommandBase,
       
    78     ECalenDeleteEntryWithoutQuery,
       
    79     ECalenDeleteSeries,
       
    80     ECalenDeleteCurrentOccurrence,
       
    81     ECalenDeleteAllEntries,
       
    82     ECalenDeleteEntriesBeforeDate,
       
    83     ECalenCancelDelete,
       
    84     ECalenDeleteEntryFromViewer,
       
    85     ECalenShowSettings                          = ECalenSettingsCommandBase,
       
    86     ECalenGetLocation				= ECalenMapCommandBase,
       
    87     ECalenShowLocation,
       
    88     ECalenGetLocationAndSave,
       
    89     ECalenMissedAlarmsView                      = ECalenMissedAlarmCommandBase,
       
    90     ECalenMissedEventView,
       
    91     ECalenCmdClear,
       
    92     ECalenCmdClearAll,    						
       
    93     ECalenCmdGotoCalendar,
       
    94     ECalenMissedAlarmsViewFromIdle,
       
    95     ECalenMissedEventViewFromIdle,
       
    96     ECalenLastCommand,
       
    97     ECalenRegionalPluginTapEvent
       
    98     };
       
    99 
       
   100 #endif // HB_CALENCOMMANDS_HRH
       
   101 
       
   102 // End of file