messagingapp/msgappfw/server/inc/ccsconversationcontact.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 47 5b14749788d7
--- a/messagingapp/msgappfw/server/inc/ccsconversationcontact.h	Fri Apr 16 14:56:15 2010 +0300
+++ b/messagingapp/msgappfw/server/inc/ccsconversationcontact.h	Mon May 03 12:29:07 2010 +0300
@@ -29,7 +29,7 @@
 /** 
  * CS Server Conversation Contact Details class
  * This shall hold all the details of contact associated with a 
- * conversation like name, numbers and contact link
+ * conversation like name, numbers and contact id
  */
 class CCsConversationContact : public CBase
 {
@@ -46,52 +46,20 @@
     ~CCsConversationContact();
 
     /**
-     * GetFirstName
+     * GetDisplayName
      * Get the first name of contact
      *  
      * @return  returns the First name        
      */
-    HBufC* GetFirstName() const;
-
-    /**
-     * GetLastName
-     * Get the last name of contact 
-     *   
-     * @return  returns last name      
-     */
-    HBufC* GetLastName() const;
-    
-    /**
-     * GetNickName
-     * Get the nick name of contact 
-     *   
-     * @return  returns nick name      
-     */
-    HBufC* GetNickName() const;
+    HBufC* GetDisplayName() const;
 
     /**
-     * SetFirstNameL
+     * SetDisplayNameL
      * Set the first name of contact  
      * 
-     * @param aFirstName first name       
-     */
-    void SetFirstNameL(const TDesC& aFirstName);
-
-    /**
-     * SetLastNameL
-     * Set the last name of contact  
-     *   
-     * @param aLastName  last name     
+     * @param aDisplayName first name       
      */
-    void SetLastNameL(const TDesC& aLastName);
-    
-    /**
-     * SetNickNameL
-     * Set the nick name of contact  
-     *   
-     * @param aNickName  nick name     
-     */
-    void SetNickNameL(const TDesC& aNickName);
+    void SetDisplayNameL(const TDesC& aDisplayName);
 
     /**
      * GetContactId
@@ -155,21 +123,7 @@
      * Conversation first name
      * Own.
      */
-    HBufC* iFirstName;
-
-    /**
-     * iLastName
-     * Conversation last name
-     * Own.
-     */
-    HBufC* iLastName;
-
-    /**
-     * iNickName
-     * Conversation nick name
-     * Own.
-     */
-    HBufC* iNickName;
+    HBufC* iDisplayName;   
 
     /**
      * iContactId