phonebookui/Phonebook2/ccapplication/ccapp/ccapputil/inc/ccacmscontactfetcherwrapper.h
branchRCL_3
changeset 5 81f8547efd4f
parent 0 e686773b3f54
--- a/phonebookui/Phonebook2/ccapplication/ccapp/ccapputil/inc/ccacmscontactfetcherwrapper.h	Fri Feb 19 22:40:27 2010 +0200
+++ b/phonebookui/Phonebook2/ccapplication/ccapp/ccapputil/inc/ccacmscontactfetcherwrapper.h	Fri Mar 12 15:41:25 2010 +0200
@@ -209,7 +209,8 @@
         EFindingFromOtherStores,
         ELoadingEnabledFields,
         ELoadingFields,
-        EOperationsCompleted 
+        EOperationsCompleted,
+        ESettingVoiceCallDefault
         };
 
     /**
@@ -324,6 +325,13 @@
      */
     virtual void RefetchContactL();
 
+	/**
+     * Checks whether the Current contact is top contact.
+     *
+     * @return ETrue if aContact it top contact, otherwise EFalse 
+     */
+    IMPORT_C TBool IsTopContact();
+
 private:// new
 
     /**
@@ -331,7 +339,7 @@
      *
      * @since S60 v5.0
      */ 
-    void StartFetcherL();        
+    void StartFetcherL( TBool aSetDefault = EFalse );        
     
     /**
      * Opens the contact from contact db
@@ -404,6 +412,12 @@
      */ 
     void NotifyErrorL();
     
+    /**
+    * Set default for voice call.
+    *
+    * @since S60 v5.0
+    */
+    void SetDefaultForVoiceCallL();
 private: // from base class CActive
  
     /**