equal
deleted
inserted
replaced
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include "cvimpstcmdeditcontact.h" |
20 #include "cvimpstcmdeditcontact.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 "mvimpstenginecontactmgmtextention.h" |
29 #include "mvimpstenginecontactmgmtextention.h" |
29 #include "mvimpstengineextentionfeatures.h" |
30 #include "mvimpstengineextentionfeatures.h" |
61 // |
62 // |
62 CVIMPSTCmdEditContact* CVIMPSTCmdEditContact::NewL( |
63 CVIMPSTCmdEditContact* CVIMPSTCmdEditContact::NewL( |
63 const TInt aCommandId,MVPbkContactLink* aContactLink, |
64 const TInt aCommandId,MVPbkContactLink* aContactLink, |
64 MVIMPSTEngine& aEngine) |
65 MVIMPSTEngine& aEngine) |
65 { |
66 { |
|
67 TRACER_AUTO; |
66 CVIMPSTCmdEditContact* self = new (ELeave ) CVIMPSTCmdEditContact( aCommandId ,aContactLink, aEngine); |
68 CVIMPSTCmdEditContact* self = new (ELeave ) CVIMPSTCmdEditContact( aCommandId ,aContactLink, aEngine); |
67 self->ConstructL(); //use contsurctL if necessary |
69 self->ConstructL(); //use contsurctL if necessary |
68 return self; |
70 return self; |
69 } |
71 } |
70 // -------------------------------------------------------------------------- |
72 // -------------------------------------------------------------------------- |
80 // CVIMPSTCmdEditContact::ExecuteLD |
82 // CVIMPSTCmdEditContact::ExecuteLD |
81 // -------------------------------------------------------------------------- |
83 // -------------------------------------------------------------------------- |
82 // |
84 // |
83 void CVIMPSTCmdEditContact::ExecuteLD() |
85 void CVIMPSTCmdEditContact::ExecuteLD() |
84 { |
86 { |
85 CHAT_DP_FUNC_ENTER("CVIMPSTEnableServiceCmd::ExecuteLD"); |
87 |
|
88 TRACER_AUTO; |
86 //push to the cleanupstack |
89 //push to the cleanupstack |
87 CleanupStack::PushL( this ); |
90 CleanupStack::PushL( this ); |
88 /* |
91 /* |
89 MVIMPSTEngineExtentionFeatures* feature = iEngine.ExtentionFeatures(TVIMPSTEnums::EContactManagement); |
92 MVIMPSTEngineExtentionFeatures* feature = iEngine.ExtentionFeatures(TVIMPSTEnums::EContactManagement); |
90 if (feature) |
93 if (feature) |
106 iObserver->CommandFinishedL(*this); |
109 iObserver->CommandFinishedL(*this); |
107 } |
110 } |
108 CHAT_DP_FUNC_ENTER("CVIMPSTEnableServiceCmd:: CommandFinished"); |
111 CHAT_DP_FUNC_ENTER("CVIMPSTEnableServiceCmd:: CommandFinished"); |
109 */ |
112 */ |
110 CleanupStack::PopAndDestroy(); |
113 CleanupStack::PopAndDestroy(); |
111 CHAT_DP_FUNC_DONE("CVIMPSTEnableServiceCmd::ExecuteLD"); |
114 |
112 } |
115 } |
113 |
116 |
114 |
117 |
115 // -------------------------------------------------------------------------- |
118 // -------------------------------------------------------------------------- |
116 // CVIMPSTCmdEditContact::AddObserver |
119 // CVIMPSTCmdEditContact::AddObserver |