CTC++ Coverage Report - Execution Profile #17/43
Directory Summary | Files Summary | Functions Summary | Execution Profile
To files: First | Previous | Next | Last | Index | No Index
File: \meco_domain\conversations\uiservicetab\internal\tsrc\vimpstcmdprocess_utest\src\stub\s_vimpstprocessarrayitem.cpp
Instrumentation mode: function-decision
TER: 0 % ( 0/ 18)

Start/ | End/ |  |  |
True | False | - | Line | Source
| 1 | /*
| 2 | * ============================================================================
| 3 | * Name : s_vimpstcmdobserver.cpp
| 4 | * Part of :
| 5 | * Description :
| 6 | * Version : %version: 1 %
| 7 | *
| 8 | * Copyright © 2006, 2007 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 | * Template version: 4.1
| 18 | */
| 19 |
| 20 | #include "s_vimpstprocessarrayItem.h"
| 21 | #include "tvimpstenums.h"
| 22 |
| 23 |
| 24 |
0 | 0 | - | 25 | MVIMPSTProcessArrayItem* vimpstprocessarrayitem_stub::NewL(TDesC & aItemName)
| 26 | {
| 27 | MVIMPSTProcessArrayItem* item = new(ELeave) vimpstprocessarrayitem_stub(aItemName);
0 |  | - | 28 | return item;
| 29 | }
| 30 |
0 | 0 | - | 31 | vimpstprocessarrayitem_stub::vimpstprocessarrayitem_stub(TDesC & aItemName)
| 32 | :iItemName(aItemName)
| 33 | {
| 34 |
| 35 | }
| 36 |
| 37 |
| 38 |
| 39 |
| 40 |
| 41 | /**
| 42 | * Sets the name of the listbox item
| 43 | * @param aName: Name of the listbox item to be set
| 44 | * @return void
| 45 | */
| 46 |
| 47 |
| 48 |
| 49 | /**
| 50 | * gets the messages pending status of the contact item
| 51 | * @return iSMsgPending: true if the contact has pending messages
| 52 | * else false
| 53 | */
| 54 |
| 55 |
| 56 |
0 | 0 | - | 57 | TBool vimpstprocessarrayitem_stub::IsMsgPending()
| 58 | {
0 |  | - | 59 | return EFalse;
| 60 | }
| 61 |
0 | 0 | - | 62 | void vimpstprocessarrayitem_stub::SetMsgPending(TBool aMsgPending)
| 63 | {
| 64 |
| 65 | }
| 66 | /**
| 67 | * Returns the default type of the listbox item
| 68 | * @return TEnumsPC::TItem: type of the listbox item as either EContactitem, EContactListItem etc
| 69 | */
0 | 0 | - | 70 | TVIMPSTEnums::TItem vimpstprocessarrayitem_stub::Type()
| 71 | {
0 |  | - | 72 | return TVIMPSTEnums::EContactItem;
| 73 | }
| 74 |
| 75 | /**
| 76 | * Returns the name of the listbox item
| 77 | * @return TPtrC: name of the listbox item to be displayed
| 78 | */
| 79 |
| 80 | /**
| 81 | * Sets the name of the listbox item
| 82 | * @param aName: Name of the listbox item to be set
| 83 | * @return void
| 84 | */
| 85 | //virtual void SetItemNameText(const TDesC& aName) = 0;
| 86 |
| 87 | /**
| 88 | * Returns the array index of the listbox item on engine/storage side
| 89 | * @return TInt: index of the listbox item on engine/storage side
| 90 | */
0 | 0 | - | 91 | TInt vimpstprocessarrayitem_stub::GetItemIndex()
| 92 | {
0 |  | - | 93 | return 0;
| 94 | }
| 95 |
| 96 | /**
| 97 | * return the VPBK Contact Link
| 98 | */
0 | 0 | - | 99 | MVPbkContactLink* vimpstprocessarrayitem_stub::ContactLink()
| 100 | {
0 |  | - | 101 | return NULL;
| 102 | }
| 103 |
| 104 |
| 105 | /**
| 106 | * Sets the on engine/storage side index of the listbox item
| 107 | * @param aIndex: index of the listbox item on engine/storage side
| 108 | * @return void
| 109 | */
0 | 0 | - | 110 | void vimpstprocessarrayitem_stub::SetItemIndex(TInt aIndex)
| 111 | {
| 112 |
| 113 | }
| 114 |
| 115 | /**
| 116 | * Returns the user id of the listbox item
| 117 | * @return TPtrC: user id of the listbox item.
| 118 | */
0 | 0 | - | 119 | TPtrC vimpstprocessarrayitem_stub::GetItemUserId()
| 120 | {
| 121 | TPtrC ptr;
0 |  | - | 122 | return ptr;
| 123 | }
| 124 | /**
| 125 | * Returns the avatar index of the listbox item
| 126 | * @return TInt: avatar index of the listbox item.
| 127 | */
0 | 0 | - | 128 | TInt vimpstprocessarrayitem_stub::AvatarIndex()
| 129 | {
0 |  | - | 130 | return 0;
| 131 | }
| 132 |
| 133 | /**
| 134 | * sets the avatar index of the listbox item
| 135 | * @param aAvatarIndex: avatar index to be set
| 136 | */
0 | 0 | - | 137 | void vimpstprocessarrayitem_stub::SetAvatarIndex(TInt aAvatarIndex )
| 138 | {
| 139 |
| 140 | }
| 141 |
| 142 |
| 143 |
| 144 |
| 145 |
| 146 |
| 147 | // End of File
***TER 0% (0/18) of SOURCE FILE s_vimpstprocessarrayitem.cpp

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