Fix for 38025 37983
[apps/osp/Call.git] / inc / CallEndCallForm.h
index c56ff1e..ade6b2c 100644 (file)
@@ -82,14 +82,16 @@ public:
         * @see         Tizen::App::AppControl
         */
        virtual void OnAppControlCompleteResponseReceived(const Tizen::App::AppId& appId, const Tizen::Base::String& operationId, Tizen::App::AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pExtraData);
-       //Used to set the contact button state in the end call form
-       void SetContactButtonState(bool showState);
-       //To check if contact is present in Address bool
-       bool IsContactPresent(void);
+       //Used to set the Viewcontact button state in the end call form
+       void ShowViewContactButton(void);
+       //Used to set the Viewcontact button state in the end call form
+       void ShowAddContactButton(void);
        //Called when App comes to foreground
        virtual void OnForeground(void);
        //Called when App goes to background
        virtual void OnBackground(void);
+       //Called when screen goes off
+       virtual void OnScreenOff(void){};
        //From IOrientationEventListener
        virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
 
@@ -101,7 +103,7 @@ private:
        // Method to show phone number on screen for all calls except conference call.
        void ShowPhoneNumber(const Tizen::Base::String& phoneNumber, const Tizen::Base::String& lblName);
        // Method to show caller name and photo for all calls.
-       void ShowPersonDetails(const Tizen::Base::String& phoneNumber, const Tizen::Base::String& nameLblName, const Tizen::Base::String& photoLblName, CallInfo* pCallInfo);
+       void ShowPersonDetails(const Tizen::Base::String& phoneNumber, const Tizen::Base::String& nameLblName, const Tizen::Base::String& photoLblName, AppCallInfo* pCallInfo);
        // Method to show thumbnail
        void ShowCallersPhotoThumbnail(const Tizen::Graphics::Bitmap& pPhotoId);
        //private method to handle whether to close App or goto initial scene, after no more active calls are left.
@@ -120,7 +122,6 @@ private:
        Tizen::Ui::Controls::Label* __pSmallPhotoLabel;
        bool __isMsgAppControlLaunched;
        bool __isContactAppControlLaunched;
-       bool __isContactPresent;
 };
 
 #endif  // _PHN_END_CALL_FORM_H_