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_EXCEPTIONSVIEW_H_
18 #define WEB_SRC_SETTING_WEBAPP_DETAIL_EXCEPTIONSVIEW_H_
24 #include <wrt-commons/security-origin-dao/security_origin_dao.h>
25 #include <wrt-commons/security-origin-dao/security_origin_dao_types.h>
27 namespace SecurityOriginDB {
28 class SecurityOriginDAO;
29 struct SecurityOriginData;
32 namespace WebAppDetailSetting {
37 ExceptionsView(Evas_Object *naviframe, DPL::String appID);
38 ~ExceptionsView(void);
41 void loadEmptyView(Evas_Object* genlist);
42 void loadExceptionsSettingsView(
44 SecurityOriginDB::SecurityOriginDataList securityOriginDataList);
47 Evas_Object *m_naviframe;
49 SecurityOriginDB::SecurityOriginDAOPtr m_securityOriginDao;
52 static char* getEmptyTextCallback(
56 static char* getTextCallback(
60 static void delCallback(
63 static void selectedCallback(
69 static void removeItemCallback(
73 static void closePopupCallback(
79 class ExceptionsSettingsData
82 SecurityOriginDB::SecurityOriginDAO* m_originDao;
83 SecurityOriginDB::SecurityOriginData m_originData;
85 ExceptionsSettingsData(
86 SecurityOriginDB::SecurityOriginDAO* dao,
87 SecurityOriginDB::SecurityOriginData data) :
94 } /* WebAppDetailSetting */
96 #endif /* WEB_SRC_SETTING_WEBAPP_DETAIL_EXCEPTIONSVIEW_H_ */