2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://floralicense.org/license/
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 #ifndef WEB_SRC_SETTING_WEBAPP_DETAIL_DETAILVIEW_H_
18 #define WEB_SRC_SETTING_WEBAPP_DETAIL_DETAILVIEW_H_
21 #include <ui-gadget.h>
24 #include <dpl/wrt-dao-rw/widget_dao.h>
25 #include <dpl/scoped_ptr.h>
29 namespace WebAppDetailSetting {
39 class DetailView : public View
44 WEBKIT_VERSION_UNKNOWN
47 Evas_Object *m_naviframe;
48 Evas_Object *m_parent;
50 Evas_Object *check_webkit;
51 Evas_Object *check_login;
54 DPL::ScopedPtr<WrtDB::WidgetDAO> m_dao;
55 WrtDB::WidgetLocalizedInfo m_localizedInfo;
57 LicenseInfo *m_licenseInfo;
58 DPL::ScopedPtr<AdvancedView> m_advancedView;
60 void getLocalizedInfo(void);
61 static void onBackBtnClicked(void *data,
64 bool pushToNaviFrame(void);
66 DetailView(Evas_Object* naviframe, ui_gadget_h ug, DPL::String appID);
69 Evas_Object *loadView(void);
75 DetailView *m_detailView;
77 std::string m_subtitle;
79 DetailData(DetailView *detailView,
81 const char *subtitle) :
82 m_detailView(detailView),
84 m_subtitle(subtitle) { };
86 ~DetailData(void) { };
89 } /* WebAppDetailSetting */
91 #endif /* WEB_SRC_SETTING_WEBAPP_DETAIL_DETAILVIEW_H_ */