Fix for 42792
[apps/osp/Call.git] / inc / CallInfo.h
index d915984..eca5570 100644 (file)
@@ -1,7 +1,7 @@
 //
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
@@ -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;