Fixed Nabi Issues and Language related changes
[apps/osp/Internet.git] / inc / IntConfirmationPopup.h
1 //
2
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://floralicense.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
18 // !Internet
19 /*@file:    IntConfirmationPopup.h
20  *@brief:       This header file contains the declarations of the ConfirmationPopup
21  *
22  */
23
24 #ifndef CONFIRMATIONPOPUP_H_
25 #define CONFIRMATIONPOPUP_H_
26
27 #include <FBase.h>
28 #include <FUi.h>
29
30 class ConfirmationPopup
31   : public Tizen::Ui::Controls::Popup
32   {
33 public:
34         ConfirmationPopup(void);
35
36         virtual ~ConfirmationPopup(void);
37
38         bool Initialize(void);
39
40         void AddActionListener(Tizen::Ui::IActionEventListener& listener);
41
42         Tizen::Base::String GetMessage(void);
43
44         virtual result OnTerminating(void);
45
46         void RemoveActionListener(Tizen::Ui::IActionEventListener& listener);
47
48         void setMessage(Tizen::Base::String& str);
49
50 private:
51
52         Tizen::Base::String __message;
53         Tizen::Ui::Controls::Button* __pNoButton;
54         Tizen::Ui::Controls::Label* __pPopupText;
55         Tizen::Ui::Controls::Button* __pYesButton;
56 };
57
58 #endif /* CONFIRMATIONPOPUP_H_ */