2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (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;
53 DPL::ScopedPtr<WrtDB::WidgetDAO> m_dao;
54 WrtDB::WidgetLocalizedInfo m_localizedInfo;
56 LicenseInfo *m_licenseInfo;
57 DPL::ScopedPtr<AdvancedView> m_advancedView;
59 void getLocalizedInfo(void);
60 static void onBackBtnClicked(void *data,
64 DetailView(Evas_Object* naviframe, ui_gadget_h ug, DPL::String appID);
67 Evas_Object *loadView(void);
73 DetailView *m_detailView;
75 std::string m_subtitle;
77 DetailData(DetailView *detailView,
79 const char *subtitle) :
80 m_detailView(detailView),
82 m_subtitle(subtitle) { };
84 ~DetailData(void) { };
87 } /* WebAppDetailSetting */
89 #endif /* WEB_SRC_SETTING_WEBAPP_DETAIL_DETAILVIEW_H_ */