Applied latest source code
[apps/native/preloaded/Settings.git] / inc / StWifiDirectAboutForm.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.1 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://floralicense.org/license/
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file                StWifiDirectAboutForm.h
19  * @brief               This is the header file for WifiDirectAboutForm class.
20  */
21
22 #ifndef _ST_WIFI_DIRECT_ABOUT_FORM_H_
23 #define _ST_WIFI_DIRECT_ABOUT_FORM_H_
24
25 #include <FUi.h>
26
27 class WifiDirectAboutForm
28         : public Tizen::Ui::Controls::Form
29         , public Tizen::Ui::Controls::IFormBackEventListener
30         , public Tizen::Ui::IActionEventListener
31         , public Tizen::Ui::Scenes::ISceneEventListener
32 {
33 public:
34         WifiDirectAboutForm(void);
35         virtual ~WifiDirectAboutForm(void);
36
37         void CreateFooter(void);
38         void CreateHelpText(const Tizen::Graphics::Rectangle& bounds);
39         void CreateHelpTextView(void);
40         void CreateHeader(const Tizen::Base::String& textTitle);
41         bool Initialize(void);
42
43         virtual result OnInitializing(void);
44         virtual result OnTerminating(void);
45
46         virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
47         virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
48         virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
49
50         virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId){}
51 };
52
53 #endif // _ST_WIFI_DIRECT_ABOUT_FORM_H_