messagingapp/msgappfw/server/inc/ccsconversationcontact.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 47 5b14749788d7
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
    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      * 
   153     /**
   121     /**
   154      * iFirstName
   122      * iFirstName
   155      * Conversation first name
   123      * Conversation first name
   156      * Own.
   124      * Own.
   157      */
   125      */
   158     HBufC* iFirstName;
   126     HBufC* iDisplayName;   
   159 
       
   160     /**
       
   161      * iLastName
       
   162      * Conversation last name
       
   163      * Own.
       
   164      */
       
   165     HBufC* iLastName;
       
   166 
       
   167     /**
       
   168      * iNickName
       
   169      * Conversation nick name
       
   170      * Own.
       
   171      */
       
   172     HBufC* iNickName;
       
   173 
   127 
   174     /**
   128     /**
   175      * iContactId
   129      * iContactId
   176      * Conversation phonebook contact Id
   130      * Conversation phonebook contact Id
   177      */
   131      */