2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 * @file YesNoCheckPopup.cpp
18 * @author Przmeyslaw Ciezkowsko (p.ciezkowski@samsung.com)
20 * @brief Popup that contains 'Yes' and 'No' buttons and checkbox.
24 #include "wrt-popup.h"
26 #ifndef WRT_YES_NO_CHECK_POPUP_H
27 #define WRT_YES_NO_CHECK_POPUP_H
32 const char YES_LABEL[] = "Yes";
33 const char NO_LABEL[] = "No";
34 const int POPUP_YES_VALUE = 1;
35 const int POPUP_NO_VALUE = 2;
37 class YesNoCheckPopup : public IPopup
40 virtual void show(DPL::BinaryQueueAutoPtr data, WrtPopup* parent);
43 virtual ~YesNoCheckPopup();
46 virtual Renderer::CtrlPopupPtr createPopup(DPL::BinaryQueueAutoPtr data);
47 virtual void responseCallback(const Renderer::AnswerCallbackData &answer);
53 #endif /* WRT_YES_NO_CHECK_POPUP_H */