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