phoneuis/easydialing/inc/easydialingcontactdata.h
branchRCL_3
changeset 81 c26cc2a7c548
parent 62 5266b1f337bd
equal deleted inserted replaced
73:e30d4a1b8bad 81:c26cc2a7c548
    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     /**
       
   107      * Returns the loading status of the contact.
    79      * Returns the loading status of the contact.
   108      * @return  ETrue, if contact data loading has completed, EFalse otherwise.
    80      * @return  ETrue, if contact data loading has completed, EFalse otherwise.
   109      */
    81      */
   110     TBool IsLoaded();
    82     TBool IsLoaded();
   111     
    83     
   112     
    84     
   113     /**
    85     /**
   114      * Sets loading status to complete.
    86      * Sets loading status to complete.
   115      */
    87      */
   116     void LoadingComplete();
    88     void LoadingComplete();
   117     
    89 
   118     
    90     
   119     /**
    91     /**
   120      * Deletes the thumbnail image of the contact.
    92      * Deletes the thumbnail image of the contact.
   121      */
    93      */
   122     void DeleteThumbnail();
    94     void DeleteThumbnail();
   165     /** Contact link. Owned. */
   137     /** Contact link. Owned. */
   166     MVPbkContactLink* iContactLink;
   138     MVPbkContactLink* iContactLink;
   167     
   139     
   168     /** Thumbnail bitmap. Owned. */
   140     /** Thumbnail bitmap. Owned. */
   169     CFbsBitmap* iThumbnail;
   141     CFbsBitmap* iThumbnail;
   170     
   142 
   171     /** ETrue if this is a favourite contact. */
   143     /** ETrue if this is a favourite contact. */
   172     TBool iFav;
   144     TBool iFav;
   173     
   145        
   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     
       
   180     /** ETrue is asynchronous loading of contact data is complete.  */
   146     /** ETrue is asynchronous loading of contact data is complete.  */
   181     TBool iLoaded;
   147     TBool iLoaded;
   182     
   148        
   183     /** ETrue if voice call is a possible action with this contact. */
   149     /** ETrue if voice call is a possible action with this contact. */
   184     TBool iVoiceCallAvailable;
   150     TBool iVoiceCallAvailable;
   185     
   151     
   186     /** ETrue if video call is a possible action with this contact. */
   152     /** ETrue if video call is a possible action with this contact. */
   187     TBool iVideoCallAvailable;
   153     TBool iVideoCallAvailable;
   188     
   154 
   189     /** ETrue if SMS or MMS is a possible action with this contact. */
   155     /** ETrue if SMS or MMS is a possible action with this contact. */
   190     TBool iUniEditorAvailable;
   156     TBool iUniEditorAvailable;
   191     };
   157     };
   192 
   158 
   193 #endif //__EASYDIALINGCONTACTDATA_H__
   159 #endif //__EASYDIALINGCONTACTDATA_H__