Tizen 2.1 base
[sdk/ide/native-sample.git] / samples / native / partner / cpp / Sample / Tizen C++ / UiControls / UiControls / project / inc / CustomButtonForm.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Flora License, Version 1.0 (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
8 //
9 //     http://www.tizenopensource.org/license
10 //
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.
16 //
17 #ifndef _CustomButtonForm_H_\r
18 #define _CustomButtonForm_H_\r
19 \r
20 #include <FUix.h>\r
21 #include "BaseForm.h"\r
22 #include "CustomButton.h"\r
23 class CustomButtonForm :\r
24         public BaseForm,\r
25         public IClickListener\r
26 {\r
27 public:\r
28         CustomButtonForm(void);\r
29         virtual ~CustomButtonForm(void);\r
30 \r
31         bool Initialize(void);\r
32 \r
33 protected:\r
34 \r
35 public:\r
36         virtual result OnInitializing(void);\r
37         virtual void OnActionPerformed(const Osp::Ui::Control& source, int actionId){};\r
38 \r
39         Osp::Ui::Controls::Label* __pLogLabel;\r
40         Osp::Uix::TouchEffect *__pTouchEffect;\r
41         //IClickListener\r
42         virtual void OnClicked(CustomButton& source);\r
43 };\r
44 \r
45 #endif\r