CTC++ Coverage Report - Execution Profile #33/43
Directory Summary | Files Summary | Functions Summary | Execution Profile
To files: First | Previous | Next | Last | Index | No Index
File: \meco_domain\conversations\uiservicetab\vimpstcmdprocess\src\cvimpstcmdfetchblockedlist.cpp
Instrumentation mode: function-decision
TER: 92 % ( 12/ 13)

Start/ | End/ |  |  |
True | False | - | Line | Source
| 1 | /*
| 2 | * ===========================================================================
| 3 | * Name : cvimpstcmdfetchblockedlist.cpp
| 4 | * Part of : IMUiServiceTab/vimpstcmdprocess
| 5 | * Description :
| 6 | * Version : %version: 2 %
| 7 | *
| 8 | * Copyright © 2009 Nokia. All rights reserved.
| 9 | * This material, including documentation and any related computer
| 10 | * programs, is protected by copyright controlled by Nokia. All
| 11 | * rights are reserved. Copying, including reproducing, storing,
| 12 | * adapting or translating, any or all of this material requires the
| 13 | * prior written consent of Nokia. This material also contains
| 14 | * confidential information which may not be disclosed to others
| 15 | * without the prior written consent of Nokia.
| 16 | * ============================================================================
| 17 | */
| 18 |
| 19 | // INCLUDE FILES
| 20 |
| 21 | //#include "cvimpstcmdlogout.h"
| 22 |
| 23 | #include "vimpstcmd.hrh"
| 24 | #include "cvimpstcmdfetchblockedlist.h"
| 25 | #include "mvimpstcmdobserver.h"
| 26 |
| 27 | #include "vimpstdebugprint.h"
| 28 |
| 29 | #include <e32def.h>
| 30 |
| 31 | #include "mvimpstengine.h"
| 32 |
| 33 |
| 34 | // Constants
| 35 |
| 36 | // --------------------------------------------------------------------------
| 37 | // CVIMPSTCmdFetchBlockedContactList::CVIMPSTCmdFetchBlockedContactList
| 38 | // --------------------------------------------------------------------------
| 39 | //
2 | 2 |  | 40 | CVIMPSTCmdFetchBlockedContactList::CVIMPSTCmdFetchBlockedContactList(
| 41 | const TInt aCommandId , MVIMPSTEngine& aEngine) :
| 42 | iCommandId( aCommandId ),
| 43 | iEngine(aEngine)
| 44 | {
| 45 | }
| 46 |
| 47 | // --------------------------------------------------------------------------
| 48 | // CVIMPSTCmdFetchBlockedContactList::~CVIMPSTCmdFetchBlockedContactList
| 49 | // --------------------------------------------------------------------------
| 50 | //
2 | 2 |  | 51 | CVIMPSTCmdFetchBlockedContactList::~CVIMPSTCmdFetchBlockedContactList()
| 52 | {
| 53 |
| 54 | }
| 55 |
| 56 | // --------------------------------------------------------------------------
| 57 | // CVIMPSTCmdFetchBlockedContactList::NewL
| 58 | // --------------------------------------------------------------------------
| 59 | //
2 | 0 |  | 60 | CVIMPSTCmdFetchBlockedContactList* CVIMPSTCmdFetchBlockedContactList::NewL(
| 61 | const TInt aCommandId,MVIMPSTEngine& aEngine)
| 62 | {
| 63 | CVIMPSTCmdFetchBlockedContactList* self = new (ELeave ) CVIMPSTCmdFetchBlockedContactList( aCommandId , aEngine);
| 64 | self->ConstructL(); //use contsurctL if necessary
2 |  |  | 65 | return self;
| 66 | }
| 67 | // --------------------------------------------------------------------------
| 68 | // CVIMPSTCmdFetchBlockedContactList::ConstructL
| 69 | // --------------------------------------------------------------------------
| 70 | //
2 | 2 |  | 71 | void CVIMPSTCmdFetchBlockedContactList::ConstructL()
| 72 | {
| 73 |
| 74 | }
| 75 |
| 76 | // --------------------------------------------------------------------------
| 77 | // CVIMPSTCmdFetchBlockedContactList::ExecuteLD
| 78 | // --------------------------------------------------------------------------
| 79 | //
2 | 2 |  | 80 | void CVIMPSTCmdFetchBlockedContactList::ExecuteLD()
| 81 | {
| 82 | CHAT_DP_FUNC_ENTER("CVIMPSTCmdFetchBlockedContactList::ExecuteLD");
| 83 | //push to the cleanupstack
| 84 | CleanupStack::PushL( this );
| 85 |
| 86 | //call logout
| 87 | iEngine.FetchBlockedListL();
| 88 |
| 89 | CHAT_DP_FUNC_ENTER("CVIMPSTCmdFetchBlockedContactList:: CommandFinished");
| 90 |
2 | 0 | - | 91 | if(iObserver)
| 92 | {
| 93 | iObserver->CommandFinishedL(*this);
| 94 | }
| 95 | CHAT_DP_FUNC_ENTER("CVIMPSTCmdFetchBlockedContactList:: CommandFinished");
| 96 | CleanupStack::PopAndDestroy();
| 97 | CHAT_DP_FUNC_DONE("CVIMPSTCmdFetchBlockedContactList::ExecuteLD");
| 98 | }
| 99 |
| 100 |
| 101 | // --------------------------------------------------------------------------
| 102 | // CVIMPSTCmdFetchBlockedContactList::AddObserver
| 103 | // --------------------------------------------------------------------------
| 104 | //
2 | 2 |  | 105 | void CVIMPSTCmdFetchBlockedContactList::AddObserver( MVIMPSTCmdObserver& aObserver )
| 106 | {
| 107 | // store the observer to notify the command completion
| 108 | iObserver = &aObserver;
| 109 | }
| 110 |
| 111 |
| 112 | // --------------------------------------------------------------------------
| 113 | // CVIMPSTCmdFetchBlockedContactList::CommandId
| 114 | // --------------------------------------------------------------------------
| 115 | //
2 | 0 |  | 116 | TInt CVIMPSTCmdFetchBlockedContactList::CommandId() const
| 117 | {
2 |  |  | 118 | return iCommandId;
| 119 | }
| 120 |
| 121 | // --------------------------------------------------------------------------
| 122 | // CVIMPSTCmdFetchBlockedContactList::Result
| 123 | // --------------------------------------------------------------------------
| 124 | //
2 | 0 |  | 125 | TInt CVIMPSTCmdFetchBlockedContactList::Result() const
| 126 | {
| 127 | //return valid data regd the command operation
2 |  |  | 128 | return 0;
| 129 | }
| 130 |
| 131 |
| 132 |
| 133 | // End of File
***TER 92% (12/13) of SOURCE FILE cvimpstcmdfetchblockedlist.cpp

Directory Summary | Files Summary | Functions Summary | Execution Profile
To files: First | Previous | Next | Last | Top | Index | No Index