1 /* |
|
2 * Copyright (c) 2006, 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: s_enginecontmgtextfeatures.cpp |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "s_vimpststoragecontact.h" |
|
21 //#include <MVPBKSTORECONTACT.H> |
|
22 #include "s_MVPbkContactLinkstub.h" |
|
23 |
|
24 // ============================ MEMBER FUNCTIONS =============================== |
|
25 |
|
26 |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // CVIMPSTStorageContact::NewL |
|
30 // Two-phased constructor. |
|
31 // ----------------------------------------------------------------------------- |
|
32 // |
|
33 MVIMPSTStorageContact* vimpststoragecontact_stub::NewL() |
|
34 { |
|
35 MVIMPSTStorageContact* contact = new(ELeave)vimpststoragecontact_stub; |
|
36 return contact; |
|
37 } |
|
38 |
|
39 // Destructor |
|
40 vimpststoragecontact_stub::~vimpststoragecontact_stub() |
|
41 { |
|
42 |
|
43 } |
|
44 |
|
45 // ----------------------------------------------------------------------------- |
|
46 // CVIMPSTStorageContact::UserId |
|
47 // From MVIMPSTStorageContact |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 const TDesC& vimpststoragecontact_stub::UserId() const |
|
51 { |
|
52 return KDummy(); |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // CVIMPSTStorageContact::UserId |
|
57 // From MVIMPSTStorageContact |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 const TDesC& vimpststoragecontact_stub::Name() const |
|
61 { |
|
62 return KDummy(); |
|
63 } |
|
64 // ----------------------------------------------------------------------------- |
|
65 // CVIMPSTStorageContact::OnlineStatus |
|
66 // From MVIMPSTStorageContact |
|
67 // ----------------------------------------------------------------------------- |
|
68 // |
|
69 TVIMPSTEnums::TOnlineStatus vimpststoragecontact_stub::OnlineStatus() const |
|
70 { |
|
71 TVIMPSTEnums::TOnlineStatus status = TVIMPSTEnums::EOffline; |
|
72 return status; |
|
73 } |
|
74 |
|
75 |
|
76 // ----------------------------------------------------------------------------- |
|
77 // CVIMPSTStorageContact::SetOnlineStatus |
|
78 // From MVIMPSTStorageContact |
|
79 // ----------------------------------------------------------------------------- |
|
80 // |
|
81 void vimpststoragecontact_stub::SetOnlineStatus( |
|
82 TVIMPSTEnums::TOnlineStatus /*aOnlineStatus*/ ) |
|
83 { |
|
84 //iPresenceStatus = aOnlineStatus; |
|
85 } |
|
86 |
|
87 |
|
88 // ----------------------------------------------------------------------------- |
|
89 // CVIMPSTStorageContact::StatusText |
|
90 // From MVIMPSTStorageContact |
|
91 // ----------------------------------------------------------------------------- |
|
92 // |
|
93 const TDesC& vimpststoragecontact_stub::StatusText() const |
|
94 { |
|
95 return KDummy(); |
|
96 } |
|
97 |
|
98 // ----------------------------------------------------------------------------- |
|
99 // CVIMPSTStorageContact::SetStatusTextL |
|
100 // From MVIMPSTStorageContact |
|
101 // ----------------------------------------------------------------------------- |
|
102 // |
|
103 void vimpststoragecontact_stub::SetStatusTextL( const TDesC& /*aStatusText*/ ) |
|
104 { |
|
105 |
|
106 } |
|
107 |
|
108 // ----------------------------------------------------------------------------- |
|
109 // CVIMPSTStorageContact::SetAvatarContentL |
|
110 // From MVIMPSTStorageContact |
|
111 // ----------------------------------------------------------------------------- |
|
112 // |
|
113 void vimpststoragecontact_stub::SetAvatarContentL( const TDesC8& /*aAvatarContent*/, MVIMPSTStorageVPbkContactStore& /*aVPPkStoreHandler*/ ) |
|
114 { |
|
115 |
|
116 } |
|
117 |
|
118 |
|
119 // ----------------------------------------------------------------------------- |
|
120 // CVIMPSTStorageContact::SetUserIdL |
|
121 // From MVIMPSTStorageExtendedStorageContact |
|
122 // ----------------------------------------------------------------------------- |
|
123 // |
|
124 void vimpststoragecontact_stub::SetUserIdL( const TDesC& /*aUserId*/ ) |
|
125 { |
|
126 |
|
127 } |
|
128 |
|
129 // ----------------------------------------------------------------------------- |
|
130 // CVIMPSTStorageContact::SetNameL |
|
131 // From MVIMPSTStorageExtendedStorageContact |
|
132 // ----------------------------------------------------------------------------- |
|
133 // |
|
134 void vimpststoragecontact_stub::SetNameL( const TDesC& /*aName*/ ) |
|
135 { |
|
136 |
|
137 } |
|
138 // --------------------------------------------------------------------------- |
|
139 // CVIMPSTStorageContact::ContactLink() |
|
140 // --------------------------------------------------------------------------- |
|
141 // |
|
142 MVPbkContactLink* vimpststoragecontact_stub::ContactLink() const |
|
143 { |
|
144 MVPbkContactLink* link = CVPbkContactLinkStub::NewL(); |
|
145 return link; |
|
146 } |
|
147 |
|
148 // --------------------------------------------------------------------------- |
|
149 // CVIMPSTStorageContact::AvatarContent |
|
150 // --------------------------------------------------------------------------- |
|
151 // |
|
152 const TDesC8& vimpststoragecontact_stub::AvatarContent() const |
|
153 { |
|
154 _LIT8(Kavatar,"avatar"); |
|
155 return Kavatar(); |
|
156 } |
|
157 // --------------------------------------------------------------------------- |
|
158 // CVIMPSTStorageContact::SetAvatarIndex() |
|
159 // --------------------------------------------------------------------------- |
|
160 // |
|
161 void vimpststoragecontact_stub::SetAvatarIndex(TInt aIndex ) |
|
162 { |
|
163 iAvatarIndex = aIndex; |
|
164 } |
|
165 |
|
166 // --------------------------------------------------------------------------- |
|
167 // CVIMPSTStorageContact::AvatarIndex |
|
168 // --------------------------------------------------------------------------- |
|
169 // |
|
170 TInt vimpststoragecontact_stub::AvatarIndex() const |
|
171 { |
|
172 return 1; |
|
173 } |
|
174 |
|
175 // End of File |
|