equal
deleted
inserted
replaced
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include "cvimpstcmdsearch.h" |
20 #include "cvimpstcmdsearch.h" |
21 |
21 |
22 #include "vimpstcmd.hrh" |
22 #include "vimpstcmd.hrh" |
23 #include "mvimpstcmdobserver.h" |
23 #include "mvimpstcmdobserver.h" |
24 #include "vimpstdebugprint.h" |
24 |
|
25 #include "uiservicetabtracer.h" |
25 |
26 |
26 #include <e32def.h> |
27 #include <e32def.h> |
27 #include "mvimpstengine.h" |
28 #include "mvimpstengine.h" |
28 #include "mvimpstenginesearchmgrextention.h" |
29 #include "mvimpstenginesearchmgrextention.h" |
29 |
30 |
79 // CVIMPSTCmdSearch::ExecuteLD |
80 // CVIMPSTCmdSearch::ExecuteLD |
80 // -------------------------------------------------------------------------- |
81 // -------------------------------------------------------------------------- |
81 // |
82 // |
82 void CVIMPSTCmdSearch::ExecuteLD() |
83 void CVIMPSTCmdSearch::ExecuteLD() |
83 { |
84 { |
84 CHAT_DP_FUNC_ENTER("CVIMPSTCmdSearch::ExecuteLD"); |
85 |
|
86 TRACER_AUTO; |
85 //push to the cleanupstack |
87 //push to the cleanupstack |
86 CleanupStack::PushL( this ); |
88 CleanupStack::PushL( this ); |
87 |
89 |
88 //make search request using search manager in engine |
90 //make search request using search manager in engine |
89 MVIMPSTEngineExtentionFeatures* feature = iEngine.ExtentionFeatures(TVIMPSTEnums::ESearch); |
91 MVIMPSTEngineExtentionFeatures* feature = iEngine.ExtentionFeatures(TVIMPSTEnums::ESearch); |
94 (*feature); |
96 (*feature); |
95 |
97 |
96 iError = searchMgr.SearchContactsL( iKeyDataArray ); |
98 iError = searchMgr.SearchContactsL( iKeyDataArray ); |
97 } |
99 } |
98 |
100 |
99 CHAT_DP_FUNC_ENTER("CVIMPSTCmdSearch:: CommandFinished"); |
101 |
100 |
102 |
101 if(iObserver) |
103 if(iObserver) |
102 { |
104 { |
103 iObserver->CommandFinishedL(*this); |
105 iObserver->CommandFinishedL(*this); |
104 } |
106 } |
105 CHAT_DP_FUNC_ENTER("CVIMPSTCmdSearch:: CommandFinished"); |
107 |
106 CleanupStack::PopAndDestroy(); |
108 CleanupStack::PopAndDestroy(); |
107 CHAT_DP_FUNC_DONE("CVIMPSTCmdSearch::ExecuteLD"); |
109 |
108 } |
110 } |
109 |
111 |
110 |
112 |
111 // -------------------------------------------------------------------------- |
113 // -------------------------------------------------------------------------- |
112 // CVIMPSTCmdSearch::AddObserver |
114 // CVIMPSTCmdSearch::AddObserver |