//
// 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
//
, public Tizen::Ui::Scenes::ISceneEventListener
, public Tizen::Base::Runtime::ITimerEventListener
, public Tizen::App::IAppControlResponseListener
+ , public Tizen::Social::IAddressbookChangeEventListener
, public IAppStateChangeListener
, public Tizen::Ui::IOrientationEventListener
{
* @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 by AddressBook to notify when contacts are changed.
+ virtual void OnContactsChanged(const Tizen::Base::Collection::IList& contactChangeInfoList);
+ // Called by AddressBook to notify when categories are changed.
+ virtual void OnCategoriesChanged(const Tizen::Base::Collection::IList& categoryChangeInfoList) {};
//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);
+ void UpdatePersonDetail(void);
+
private:
//initialise the end call panel
void InitializeCallButtonsPanel(void);
Tizen::Base::String* __pContactNumber;
//Timer used to show End call scene for 3 sec
Tizen::Base::Runtime::Timer* __pEndCallEventTimer;
+ Tizen::Social::Addressbook* __pAddressBook;
Tizen::Ui::Controls::Label* __pSmallPhotoLabel;
bool __isMsgAppControlLaunched;
bool __isContactAppControlLaunched;
- bool __isContactPresent;
};
#endif // _PHN_END_CALL_FORM_H_