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