27 |
27 |
28 // CLASS DECLARATION |
28 // CLASS DECLARATION |
29 /** |
29 /** |
30 * CS Server Conversation Contact Details class |
30 * CS Server Conversation Contact Details class |
31 * This shall hold all the details of contact associated with a |
31 * This shall hold all the details of contact associated with a |
32 * conversation like name, numbers and contact link |
32 * conversation like name, numbers and contact id |
33 */ |
33 */ |
34 class CCsConversationContact : public CBase |
34 class CCsConversationContact : public CBase |
35 { |
35 { |
36 public: |
36 public: |
37 |
37 |
44 * Destructor |
44 * Destructor |
45 */ |
45 */ |
46 ~CCsConversationContact(); |
46 ~CCsConversationContact(); |
47 |
47 |
48 /** |
48 /** |
49 * GetFirstName |
49 * GetDisplayName |
50 * Get the first name of contact |
50 * Get the first name of contact |
51 * |
51 * |
52 * @return returns the First name |
52 * @return returns the First name |
53 */ |
53 */ |
54 HBufC* GetFirstName() const; |
54 HBufC* GetDisplayName() const; |
55 |
55 |
56 /** |
56 /** |
57 * GetLastName |
57 * SetDisplayNameL |
58 * Get the last name of contact |
|
59 * |
|
60 * @return returns last name |
|
61 */ |
|
62 HBufC* GetLastName() const; |
|
63 |
|
64 /** |
|
65 * GetNickName |
|
66 * Get the nick name of contact |
|
67 * |
|
68 * @return returns nick name |
|
69 */ |
|
70 HBufC* GetNickName() const; |
|
71 |
|
72 /** |
|
73 * SetFirstNameL |
|
74 * Set the first name of contact |
58 * Set the first name of contact |
75 * |
59 * |
76 * @param aFirstName first name |
60 * @param aDisplayName first name |
77 */ |
61 */ |
78 void SetFirstNameL(const TDesC& aFirstName); |
62 void SetDisplayNameL(const TDesC& aDisplayName); |
79 |
|
80 /** |
|
81 * SetLastNameL |
|
82 * Set the last name of contact |
|
83 * |
|
84 * @param aLastName last name |
|
85 */ |
|
86 void SetLastNameL(const TDesC& aLastName); |
|
87 |
|
88 /** |
|
89 * SetNickNameL |
|
90 * Set the nick name of contact |
|
91 * |
|
92 * @param aNickName nick name |
|
93 */ |
|
94 void SetNickNameL(const TDesC& aNickName); |
|
95 |
63 |
96 /** |
64 /** |
97 * GetContactId |
65 * GetContactId |
98 * Get the Contact Id of conversation |
66 * Get the Contact Id of conversation |
99 * |
67 * |