equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Calendar state machine |
14 * Description: Calendar state machine |
15 * |
15 * |
16 */ |
16 */ |
17 |
|
18 |
17 |
19 |
18 |
20 // includes |
19 // includes |
21 #include "calensendingstate.h" |
20 #include "calensendingstate.h" |
22 #include "calendarui_debug.h" // Debug macros |
21 #include "calendarui_debug.h" // Debug macros |
90 |
89 |
91 ASSERT( handler ); // FIXME: error ui |
90 ASSERT( handler ); // FIXME: error ui |
92 |
91 |
93 TBool cmdUsed = EFalse; |
92 TBool cmdUsed = EFalse; |
94 |
93 |
95 if(ECalenFasterAppExit == cmd) |
94 if( ECalenFasterAppExit == cmd ) |
96 { |
95 { |
97 SetCurrentState( aStateMachine, CCalenStateMachine::ECalenIdleState ); |
96 SetCurrentState( aStateMachine, CCalenStateMachine::ECalenIdleState ); |
98 ActivateCurrentStateL(aStateMachine); |
97 ActivateCurrentStateL(aStateMachine); |
99 RequestCallbackL( handler, aCommand ); |
98 RequestCallbackL( handler, aCommand ); |
100 cmdUsed = ETrue; |
99 cmdUsed = ETrue; |
101 } |
100 } |
102 else if(ECalenStartActiveStep == cmd) |
|
103 { |
|
104 RequestCallbackL( handler, aCommand ); |
|
105 cmdUsed = ETrue; |
|
106 } |
|
107 |
101 |
108 TRACE_EXIT_POINT; |
102 TRACE_EXIT_POINT; |
109 return cmdUsed; |
103 return cmdUsed; |
110 } |
104 } |
111 |
105 |