calendarui/controller/inc/calenstatetable.h
branchRCL_3
changeset 30 bd7edf625bdd
parent 29 12af337248b1
equal deleted inserted replaced
29:12af337248b1 30:bd7edf625bdd
    19 #ifndef CALENSTATES_H
    19 #ifndef CALENSTATES_H
    20 #define CALENSTATES_H
    20 #define CALENSTATES_H
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include "hb_calencommands.hrh"      // command ids
    24 #include <calencommands.hrh>
    25 #include "calennotificationhandler.h"      // TCalenNotification
    25 #include <calennotificationhandler.h>      // TCalenNotification
    26 
    26 
    27 // ENUMERATIONS
    27 // ENUMERATIONS
    28 
       
    29 // Enumeration of the various possible states that the controller can be
    28 // Enumeration of the various possible states that the controller can be
    30 // be in.
    29 // be in.
    31 enum TControllerState
    30 enum TControllerState
    32     {
    31     {
    33     EIdle                       = 1 << 0,
    32     EIdle                       = 1 << 0,
   111 const TStateTableEntry KStateTable[] =
   110 const TStateTableEntry KStateTable[] =
   112     {
   111     {
   113     /* ECalenMonthView */
   112     /* ECalenMonthView */
   114     { EIdle , EIdle, KCalenNoNotification },
   113     { EIdle , EIdle, KCalenNoNotification },
   115 
   114 
       
   115     /* ECalenWeekView */
       
   116     { EIdle , EIdle, KCalenNoNotification },
       
   117 
   116     /* ECalenDayView */
   118     /* ECalenDayView */
   117     { EIdle , EIdle, KCalenNoNotification },
   119     { EIdle , EIdle, KCalenNoNotification },
   118 
   120 
   119     /* ECalenAgendaView */
   121     /* ECalenTodoView */
   120     { EIdle , EIdle, KCalenNoNotification },
   122     { EIdle , EIdle, KCalenNoNotification },
   121 
   123 
   122     /* ECalenForwardsToDayView */
   124     /* ECalenForwardsToDayView */
   123     { EIdle , EIdle, KCalenNoNotification },
   125     { EIdle , EIdle, KCalenNoNotification },
   124     
   126     
   138 
   140 
   139     /* ECalenHideToolbar */
   141     /* ECalenHideToolbar */
   140     { EIdle , EIdle, KCalenNoNotification },
   142     { EIdle , EIdle, KCalenNoNotification },
   141 
   143 
   142     /* ECalenUpdateToolbar */
   144     /* ECalenUpdateToolbar */
       
   145     { EIdle , EIdle, KCalenNoNotification },
       
   146 
       
   147     /* ECalenStartActiveStep */
   143     { EIdle , EIdle, KCalenNoNotification },
   148     { EIdle , EIdle, KCalenNoNotification },
   144 
   149 
   145     /* ECalenGotoToday */
   150     /* ECalenGotoToday */
   146     { EIdle , EIdle, KCalenNoNotification },
   151     { EIdle , EIdle, KCalenNoNotification },
   147 
   152