Tizen 2.0 Release
[apps/osp/Phone.git] / inc / PhnDialAppForm.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.0 (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    PhnDialAppForm.h
19  * @brief   The Dial application form
20  *
21  */
22 #ifndef _PHN_DIAL_APP_FORM_H_
23 #define _PHN_DIAL_APP_FORM_H_
24
25 #include <FBase.h>
26 #include <FUi.h>
27
28 /**
29  * @class DialAppForm
30  * @brief This class presents a main form for Phone application.
31  *
32  */
33 class DialAppForm
34         : public Tizen::Ui::Controls::Form
35         , public Tizen::Ui::IActionEventListener
36         , public Tizen::Ui::Controls::IFormBackEventListener
37 {
38 public:
39         DialAppForm(void);
40         virtual ~DialAppForm(void);
41         bool Initialize(void);
42
43 public:
44         virtual result OnInitializing(void);
45         virtual result OnTerminating(void);
46         virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
47         virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
48
49 protected:
50         static const int ID_HEADER_DIALER;
51         static const int ID_HEADER_LOGS;
52
53 private:
54         ///Form Footer
55         Tizen::Ui::Controls::Footer* __pFormFooter;
56 };
57
58 #endif  //_PHN_DIAL_APP_FORM_H_