Fix N_SE-41043
[apps/osp/Call.git] / inc / CallInfo.h
index db4efb3..eca5570 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <FBase.h>
 #include <FSocial.h>
+#include <FSclTypes.h>
 #include "CallTypes.h"
 
 /**
@@ -64,6 +65,8 @@ public:
        Tizen::Base::String& GetContactNumber(void);
        //Set the contact number for the call
        void SetContactNumber(Tizen::Base::String& contactNumber);
+       void ResetContactNumber(Tizen::Base::String* contactNumber);
+       void ResetContactInfo(const Tizen::Social::Contact* contact);
        //Sets the contact info for the call
        void SetContactInfo(const Tizen::Social::Contact& contact);
        //returns contact info if present in contacts db
@@ -120,8 +123,16 @@ public:
 
        // this funtion fetches the contact person's name.
        Tizen::Base::String* FetchCallerNameN(void);
+       //Returns the latest Caller Name for a Number from address book
+       Tizen::Base::String* FetchLatestCallerNameN(const Tizen::Base::String& phoneNumber);
        // this funtion fetches the contact person's photo id, if present.
        Tizen::Graphics::Bitmap* FetchCallerPhotoN(void);
+       //Returns the latest Caller Photo for a Number from address book
+       Tizen::Graphics::Bitmap* FetchLatestCallerPhotoN(const Tizen::Base::String& phoneNumber);
+       //Returns the Contact Matched for the PhoneNumber from address book
+       Tizen::Social::Contact* FetchContactN(const Tizen::Base::String& phoneNumber);
+
+
 
 private:
        bool __isConfCall;