phoneuis/easydialing/inc/easydialingcontactdata.h
branchRCL_3
changeset 58 40a3f856b14d
parent 9 8871b09be73b
equal deleted inserted replaced
57:94dc1107e8b2 58:40a3f856b14d
    74      */
    74      */
    75     void SetFav(TBool aFav);
    75     void SetFav(TBool aFav);
    76     
    76     
    77     
    77     
    78     /**
    78     /**
       
    79      * Gets SIM contact status of the contact
       
    80      * @return  ETrue, if contact is a SIM contact, EFalse otherwise.
       
    81      */
       
    82     TBool IsSimContact();
       
    83     
       
    84     
       
    85     /**
       
    86      * Sets SIM contact status of the contact
       
    87      * @param   aSim    Boolean value containing the status.
       
    88      */
       
    89     void SetSimContact(TBool aSim);
       
    90     
       
    91     
       
    92     /**
       
    93      * Gets Service Dialing Number status of the contact
       
    94      * @return  ETrue, if contact is a SDN contact, EFalse otherwise.
       
    95      */
       
    96     TBool IsSdnContact();
       
    97     
       
    98     
       
    99     /**
       
   100      * Sets Service Dialing Number status of the contact
       
   101      * @param   aSdn    Boolean value containing the status.
       
   102      */
       
   103     void SetSdnContact(TBool aSdn);
       
   104     
       
   105     
       
   106     /**
    79      * Returns the loading status of the contact.
   107      * Returns the loading status of the contact.
    80      * @return  ETrue, if contact data loading has completed, EFalse otherwise.
   108      * @return  ETrue, if contact data loading has completed, EFalse otherwise.
    81      */
   109      */
    82     TBool IsLoaded();
   110     TBool IsLoaded();
    83     
   111     
    84     
   112     
    85     /**
   113     /**
    86      * Sets loading status to complete.
   114      * Sets loading status to complete.
    87      */
   115      */
    88     void LoadingComplete();
   116     void LoadingComplete();
    89 
   117     
    90     
   118     
    91     /**
   119     /**
    92      * Deletes the thumbnail image of the contact.
   120      * Deletes the thumbnail image of the contact.
    93      */
   121      */
    94     void DeleteThumbnail();
   122     void DeleteThumbnail();
   137     /** Contact link. Owned. */
   165     /** Contact link. Owned. */
   138     MVPbkContactLink* iContactLink;
   166     MVPbkContactLink* iContactLink;
   139     
   167     
   140     /** Thumbnail bitmap. Owned. */
   168     /** Thumbnail bitmap. Owned. */
   141     CFbsBitmap* iThumbnail;
   169     CFbsBitmap* iThumbnail;
   142 
   170     
   143     /** ETrue if this is a favourite contact. */
   171     /** ETrue if this is a favourite contact. */
   144     TBool iFav;
   172     TBool iFav;
   145        
   173     
       
   174     /** ETrue if this is a normal SIM contact. */
       
   175     TBool iSimContact;
       
   176     
       
   177     /** ETrue if this is a service number contact. */
       
   178     TBool iSdnContact;
       
   179     
   146     /** ETrue is asynchronous loading of contact data is complete.  */
   180     /** ETrue is asynchronous loading of contact data is complete.  */
   147     TBool iLoaded;
   181     TBool iLoaded;
   148        
   182     
   149     /** ETrue if voice call is a possible action with this contact. */
   183     /** ETrue if voice call is a possible action with this contact. */
   150     TBool iVoiceCallAvailable;
   184     TBool iVoiceCallAvailable;
   151     
   185     
   152     /** ETrue if video call is a possible action with this contact. */
   186     /** ETrue if video call is a possible action with this contact. */
   153     TBool iVideoCallAvailable;
   187     TBool iVideoCallAvailable;
   154 
   188     
   155     /** ETrue if SMS or MMS is a possible action with this contact. */
   189     /** ETrue if SMS or MMS is a possible action with this contact. */
   156     TBool iUniEditorAvailable;
   190     TBool iUniEditorAvailable;
   157     };
   191     };
   158 
   192 
   159 #endif //__EASYDIALINGCONTACTDATA_H__
   193 #endif //__EASYDIALINGCONTACTDATA_H__