|
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: Contact data container implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CVIMPSTSTORAGECONTACT_H |
|
20 #define CVIMPSTSTORAGECONTACT_H |
|
21 |
|
22 #include "tvimpstenums.h" |
|
23 // INCLUDES |
|
24 #include "mvimpststoragecontact.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class MVPbkContactLink; |
|
28 class MVIMPSTStorageContact; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * Contact data implementation |
|
34 * @lib vimpststorage.dll |
|
35 * @since 5.0 |
|
36 */ |
|
37 class MyVIMPSTStorageContactStub : public MVIMPSTStorageContact |
|
38 { |
|
39 public: // Constructors and destructor |
|
40 |
|
41 MyVIMPSTStorageContactStub() |
|
42 { |
|
43 |
|
44 } |
|
45 /** |
|
46 * C++ Destructor. |
|
47 */ |
|
48 ~MyVIMPSTStorageContactStub() |
|
49 { |
|
50 |
|
51 } |
|
52 |
|
53 |
|
54 public: // Functions from base classes MVIMPSTStorageContact |
|
55 |
|
56 /** |
|
57 * @see MVIMPSTStorageContact |
|
58 */ |
|
59 void SetUserIdL( const TDesC& aUserId ); |
|
60 |
|
61 /** |
|
62 * @see MVIMPSTStorageContact |
|
63 */ |
|
64 MVPbkContactLink* ContactLink() const; |
|
65 |
|
66 /** |
|
67 * @see MVIMPSTStorageContact |
|
68 */ |
|
69 RPointerArray<HBufC>& ServiceDetails(); |
|
70 |
|
71 |
|
72 /** |
|
73 * @see MVIMPSTStorageContact |
|
74 */ |
|
75 // void SetSeriveFields( const CDesCArray& aArrayOfServiceNumbers ); |
|
76 |
|
77 |
|
78 /** |
|
79 * @see MVIMPSTStorageContact |
|
80 */ |
|
81 const TDesC& UserId() const; |
|
82 |
|
83 |
|
84 /** |
|
85 * @see MVIMPSTStorageContact |
|
86 */ |
|
87 TVIMPSTEnums::TOnlineStatus OnlineStatus() const; |
|
88 |
|
89 /** |
|
90 * @see MVIMPSTStorageContact |
|
91 */ |
|
92 void SetOnlineStatus( TVIMPSTEnums::TOnlineStatus aOnlineStatus ); |
|
93 |
|
94 /** |
|
95 * @see MVIMPSTStorageContact |
|
96 */ |
|
97 void SignalChanges(); |
|
98 |
|
99 |
|
100 /** |
|
101 * @see MVIMPSTStorageContact |
|
102 */ |
|
103 const TDesC& StatusText() const; |
|
104 |
|
105 /** |
|
106 * @see MVIMPSTStorageContact |
|
107 */ |
|
108 void SetStatusTextL( const TDesC& aStatusText ); |
|
109 |
|
110 |
|
111 |
|
112 private : |
|
113 |
|
114 TVIMPSTEnums::TOnlineStatus iPresenceStatus; |
|
115 |
|
116 }; |
|
117 |
|
118 #endif // CVIMPSTSTORAGECONTACT_H |
|
119 |
|
120 // End of File |