1 /* |
|
2 * Copyright (c) 2008 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: Implementation of contact data container |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "s_vimpststoragecontact.h" |
|
22 |
|
23 #include "TVIMPSTEnums.h" |
|
24 #include <MVPbkStoreContact.h> |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS =============================== |
|
27 |
|
28 |
|
29 // ----------------------------------------------------------------------------- |
|
30 // MyVIMPSTStorageContactStub::UserId |
|
31 // From MVIMPSTStorageContact |
|
32 // ----------------------------------------------------------------------------- |
|
33 // |
|
34 const TDesC& MyVIMPSTStorageContactStub::UserId() const |
|
35 { |
|
36 return KNullDesC; |
|
37 } |
|
38 |
|
39 |
|
40 |
|
41 // ----------------------------------------------------------------------------- |
|
42 // MyVIMPSTStorageContactStub::OnlineStatus |
|
43 // From MVIMPSTStorageContact |
|
44 // ----------------------------------------------------------------------------- |
|
45 // |
|
46 TVIMPSTEnums::TOnlineStatus MyVIMPSTStorageContactStub::OnlineStatus() const |
|
47 { |
|
48 return iPresenceStatus; |
|
49 } |
|
50 |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // MyVIMPSTStorageContactStub::SetOnlineStatus |
|
54 // From MVIMPSTStorageContact |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 void MyVIMPSTStorageContactStub::SetOnlineStatus( |
|
58 TVIMPSTEnums::TOnlineStatus aOnlineStatus ) |
|
59 { |
|
60 |
|
61 iPresenceStatus = aOnlineStatus; |
|
62 } |
|
63 |
|
64 |
|
65 |
|
66 // ----------------------------------------------------------------------------- |
|
67 // MyVIMPSTStorageContactStub::StatusText |
|
68 // From MVIMPSTStorageContact |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 const TDesC& MyVIMPSTStorageContactStub::StatusText() const |
|
72 { |
|
73 return KNullDesC; |
|
74 } |
|
75 |
|
76 // ----------------------------------------------------------------------------- |
|
77 // MyVIMPSTStorageContactStub::SetStatusTextL |
|
78 // From MVIMPSTStorageContact |
|
79 // ----------------------------------------------------------------------------- |
|
80 // |
|
81 void MyVIMPSTStorageContactStub::SetStatusTextL( const TDesC& /*aStatusText*/ ) |
|
82 { |
|
83 |
|
84 } |
|
85 |
|
86 // ----------------------------------------------------------------------------- |
|
87 // MyVIMPSTStorageContactStub::SetUserIdL |
|
88 // From MVIMPSTStorageExtendedStorageContact |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 void MyVIMPSTStorageContactStub::SetUserIdL( const TDesC& /*aUserId */ ) |
|
92 { |
|
93 |
|
94 } |
|
95 |
|
96 |
|
97 // --------------------------------------------------------------------------- |
|
98 // MyVIMPSTStorageContactStub::ContactLink() |
|
99 // --------------------------------------------------------------------------- |
|
100 // |
|
101 MVPbkContactLink* MyVIMPSTStorageContactStub::ContactLink() const |
|
102 { |
|
103 MVPbkContactLink* link = NULL; |
|
104 |
|
105 return link; |
|
106 } |
|
107 |
|
108 // --------------------------------------------------------------------------- |
|
109 // MyVIMPSTStorageContactStub::VoIPNumbers() |
|
110 // --------------------------------------------------------------------------- |
|
111 // |
|
112 RPointerArray<HBufC>& MyVIMPSTStorageContactStub::ServiceDetails() |
|
113 { |
|
114 RPointerArray<HBufC> array; |
|
115 |
|
116 return array; |
|
117 } |
|
118 |
|
119 // --------------------------------------------------------------------------- |
|
120 // MyVIMPSTStorageContactStub::SetSeriveFields() |
|
121 // --------------------------------------------------------------------------- |
|
122 // |
|
123 void MyVIMPSTStorageContactStub::SetSeriveFields( |
|
124 const CDesCArray& /*aArrayOfServices*/ ) |
|
125 { |
|
126 |
|
127 } |
|
128 |
|
129 // --------------------------------------------------------------------------- |
|
130 // MyVIMPSTStorageContactStub::SetSeriveFields() |
|
131 // --------------------------------------------------------------------------- |
|
132 // |
|
133 void MyVIMPSTStorageContactStub::SignalChanges() |
|
134 { |
|
135 |
|
136 } |
|
137 // End of File |
|
138 |
|
139 // MyMVIMPSTStorageViewIdStub::SetOwnData |
|
140 // From MVIMPSTStorageContacts. |
|
141 // |
|
142 // ----------------------------------------------------------------------------- |
|
143 |
|
144 |
|
145 |
|