equal
deleted
inserted
replaced
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include "cvimpstcmdaddtopbk.h" |
20 #include "cvimpstcmdaddtopbk.h" |
21 #include "vimpstcmd.hrh" |
21 #include "vimpstcmd.hrh" |
22 #include "mvimpstcmdobserver.h" |
22 #include "mvimpstcmdobserver.h" |
23 #include "vimpstdebugprint.h" |
23 |
|
24 #include "uiservicetabtracer.h" |
24 |
25 |
25 #include <e32def.h> |
26 #include <e32def.h> |
26 #include <MVPbkStoreContact.h> |
27 #include <MVPbkStoreContact.h> |
27 #include "mvimpstengine.h" |
28 #include "mvimpstengine.h" |
28 #include "mvimpststorageserviceview.h" |
29 #include "mvimpststorageserviceview.h" |
77 // CVIMPSTCmdAddToPbk::ExecuteLD |
78 // CVIMPSTCmdAddToPbk::ExecuteLD |
78 // -------------------------------------------------------------------------- |
79 // -------------------------------------------------------------------------- |
79 // |
80 // |
80 void CVIMPSTCmdAddToPbk::ExecuteLD() |
81 void CVIMPSTCmdAddToPbk::ExecuteLD() |
81 { |
82 { |
82 CHAT_DP_FUNC_ENTER("CVIMPSTCmdAddToPbk::ExecuteLD"); |
83 TRACER_AUTO; |
83 //push to the cleanupstack |
84 //push to the cleanupstack |
84 CleanupStack::PushL( this ); |
85 CleanupStack::PushL( this ); |
85 MVIMPSTStorageServiceView* storage = CVIMPSTStorageManagerFactory::ContactListInterfaceL(iEngine.ServiceId()) ; |
86 MVIMPSTStorageServiceView* storage = CVIMPSTStorageManagerFactory::ContactListInterfaceL(iEngine.ServiceId()) ; |
86 if(storage) |
87 if(storage) |
87 { |
88 { |
93 } |
94 } |
94 if(iObserver) |
95 if(iObserver) |
95 { |
96 { |
96 iObserver->CommandFinishedL(*this); |
97 iObserver->CommandFinishedL(*this); |
97 } |
98 } |
98 CHAT_DP_FUNC_ENTER("CVIMPSTCmdAddToPbk:: CommandFinished"); |
99 |
99 CleanupStack::PopAndDestroy(); |
100 CleanupStack::PopAndDestroy(); |
100 CHAT_DP_FUNC_DONE("CVIMPSTCmdAddToPbk::ExecuteLD"); |
101 |
101 } |
102 } |
102 |
103 |
103 |
104 |
104 // -------------------------------------------------------------------------- |
105 // -------------------------------------------------------------------------- |
105 // CVIMPSTCmdAddToPbk::AddObserver |
106 // CVIMPSTCmdAddToPbk::AddObserver |