equal
deleted
inserted
replaced
30 #include "calenviewmanager.h" |
30 #include "calenviewmanager.h" |
31 #include "calencmdlinelauncher.h" |
31 #include "calencmdlinelauncher.h" |
32 #include "calencontroller.h" // CCalenController |
32 #include "calencontroller.h" // CCalenController |
33 #include "calencmdlineparser.h" // CCalCmdLineParser |
33 #include "calencmdlineparser.h" // CCalCmdLineParser |
34 #include "CalenUid.h" |
34 #include "CalenUid.h" |
|
35 #include "calensend.h" |
35 |
36 |
36 // ================= MEMBER FUNCTIONS ======================= |
37 // ================= MEMBER FUNCTIONS ======================= |
37 |
38 |
38 // --------------------------------------------------------- |
39 // --------------------------------------------------------- |
39 // CCalenCmdLineLauncher::CCalenCmdLineLauncher |
40 // CCalenCmdLineLauncher::CCalenCmdLineLauncher |
157 TKeyEvent key; |
158 TKeyEvent key; |
158 key.iRepeats = 0; |
159 key.iRepeats = 0; |
159 key.iCode = EKeyEscape; |
160 key.iCode = EKeyEscape; |
160 key.iModifiers = 0; |
161 key.iModifiers = 0; |
161 CCoeEnv::Static()->SimulateKeyEventL( key, EEventKey ); |
162 CCoeEnv::Static()->SimulateKeyEventL( key, EEventKey ); |
|
163 |
|
164 // Break is added to close the messaging editor as the messagng editor is not |
|
165 // consuming the escape key event. |
|
166 if( iGlobalData->CalenSendL().IsMessagingEditorOpen() ) |
|
167 { |
|
168 break; |
|
169 } |
|
170 |
162 } |
171 } |
163 |
172 |
164 // Interpret 8bit data as 16bit unicode data |
173 // Interpret 8bit data as 16bit unicode data |
165 //lint -e{826} Disable the lint warning of the pointer sizes being different |
174 //lint -e{826} Disable the lint warning of the pointer sizes being different |
166 const TText* buf = reinterpret_cast<const TText*>(aTail.Ptr()); |
175 const TText* buf = reinterpret_cast<const TText*>(aTail.Ptr()); |