X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FCallActiveCallForm.h;h=8e3782d5126de85aeae6a1d134958d46e9a89a67;hb=a7fa9b4151e7cb0896fa51cb8664b6713d2af09c;hp=57dd0a24438215ff991f617cc16347da9f317042;hpb=28c14ae43c580d7afd737aa059a1555797cd2e86;p=apps%2Fosp%2FCall.git diff --git a/inc/CallActiveCallForm.h b/inc/CallActiveCallForm.h index 57dd0a2..8e3782d 100644 --- a/inc/CallActiveCallForm.h +++ b/inc/CallActiveCallForm.h @@ -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 // @@ -46,12 +46,14 @@ class ActiveCallForm , public Tizen::Ui::Scenes::ISceneEventListener , public Tizen::Base::Runtime::ITimerEventListener , public Tizen::Ui::IOrientationEventListener + , public Tizen::Social::IAddressbookChangeEventListener { public: ActiveCallForm(FormType formType); virtual ~ActiveCallForm(void); //From BaseForm virtual void Initialize(void); + void SetSwapInProgress(bool progress); public: virtual result OnInitializing(void); @@ -67,12 +69,15 @@ public: void HandleConfCallChanged(void); // Used to update multiple call screen void UpdateMultipleCallScreen(Tizen::Base::Collection::IListT& activeCallsList); - + //IAddressbookChangeEventListener + virtual void OnContactsChanged(const Tizen::Base::Collection::IList& contactChangeInfoList); + virtual void OnCategoriesChanged(const Tizen::Base::Collection::IList& categoryChangeInfoList); //From IOrientationEventListener virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus); //From IAppStateChangeListener virtual void OnForeground(void); virtual void OnBackground(void){}; + virtual void OnScreenOff(void){}; private: // Create the call buttons panel and add to form @@ -109,6 +114,8 @@ private: void HideDTMFKeypad(void); //Used to show text in text field void SetTextToDTMFTextField(const Tizen::Base::String& dtmfStr); + // Set hold button status + void SetHoldButtonShowState(bool showState); //From IListViewItemEventListener virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus state); @@ -122,6 +129,8 @@ private: virtual int GetItemCount(void); //Method to show thumbnail image void ShowThumbnailImage(const Tizen::Graphics::Bitmap* pPhotoId,Tizen::Base::String& photoLabel); + //Check if swap in progress + bool IsSwapInProgress(void); private: //Start time for Active call @@ -131,6 +140,7 @@ private: //Custom Buttons Panel CallButtonsPanel* __pCallButtonsPanel; DtmfKeyPadPanel* __pDTMFKeypad; + Tizen::Social::Addressbook* __pAddressbook; //Option Menu List for conference call Tizen::Ui::Controls::ListView* __pMoreOptionsList; Tizen::Ui::Controls::Label* __pMoreOptionsListAnchor; @@ -138,6 +148,7 @@ private: Tizen::Base::String __DtmfString; AppCallInfo* __pActiveCallInfo; AppCallInfo* __pHeldCallInfo; + bool __isSwapInProgress; }; #endif //_PHN_ACTIVE_CALL_FORM_H_