3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.1 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 //!Internet EditHomePageScene class
19 /*@file: EditHomePageScene.h
20 *@brief: Allow user to set any page as Home page.
24 #ifndef _INT_EDIT_HOME_PAGE_FORM_H_
25 #define _INT_EDIT_HOME_PAGE_FORM_H_
28 #include <FGraphics.h>
33 class EditHomePageForm
34 : public Tizen::Ui::Controls::Form
35 , public Tizen::Ui::IActionEventListener
36 , public Tizen::Ui::Controls::IFormBackEventListener
37 , public Tizen::Ui::IOrientationEventListener
38 , public Tizen::Ui::Scenes::ISceneEventListener
39 , public Tizen::Ui::ITextEventListener
43 *@brief Default constructor
45 EditHomePageForm(void);
50 virtual ~EditHomePageForm(void);
53 * @brief Shows alert message.
55 void CreateMessage(Tizen::Base::String& str);
58 *@brief Constructing and Initializing EditHomePageScene
60 bool Initialize(void);
64 *brief Used to create instances and set styles for the form content.
66 virtual result OnInitializing(void);
69 *brief Called on terminate of a form
71 virtual result OnTerminating(void);
73 // IActionEventListener
75 *brief Called when an action event occurs.
77 virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
80 // IFormBackEventListener
81 virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
83 // ISceneEventListener
86 *brief Called after setting as current scene.
88 virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
91 *brief Called when the current scene is deactivated.
93 virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
96 virtual void OnTextValueChanged(const Tizen::Ui::Control& source);
97 virtual void OnTextValueChangeCanceled(const Tizen::Ui::Control& source);
99 // IOrientationEventListener
100 virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
103 static const int IDA_BUTTON_DONE;
104 static const int IDA_BUTTON_CANCEL;
107 int __modalMsgBoxResult;
108 Tizen::Ui::Controls::MessageBox* __pMsgBox; // Message Box to display alert if folder with same name already exists
109 Tizen::Ui::Controls::EditField* __pUrlEditField;
114 #endif /* _INT_EDIT_HOME_PAGE_FORM_H_ */