summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuWan Kim <juwan.kim@samsung.com>2015-03-05 16:38:17 +0900
committerJuWan Kim <juwan.kim@samsung.com>2015-03-05 16:38:17 +0900
commita716e5be9db2388dfd4cfa7973ed90cda25a8577 (patch)
treece5c708f6a3d2a76fca0cbfdc4c837316e4a497a /src
parent674b4711cb3c0559a319a105aa12506d9a5065f7 (diff)
downloadsettings-a716e5be9db2388dfd4cfa7973ed90cda25a8577.tar.gz
settings-a716e5be9db2388dfd4cfa7973ed90cda25a8577.tar.bz2
settings-a716e5be9db2388dfd4cfa7973ed90cda25a8577.zip
Change-Id: Icba60db872e94f7fd22d10e7696ee581e12eda13 Signed-off-by: JuWan Kim <juwan.kim@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/view_bottomslider.cpp96
-rw-r--r--src/view_bottomsublist.cpp96
-rw-r--r--src/view_device_manager.cpp66
-rw-r--r--src/view_resetpopup.cpp96
-rw-r--r--src/view_upgrade_popup.cpp59
-rw-r--r--src/viewmgr.cpp29
6 files changed, 0 insertions, 442 deletions
diff --git a/src/view_bottomslider.cpp b/src/view_bottomslider.cpp
deleted file mode 100644
index 8a94e11..0000000
--- a/src/view_bottomslider.cpp
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <utilX.h>
-#include "dbg.h"
-#include "def.h"
-#include "stdbool.h"
-#include "viewmgr.h"
-#include "utils.h"
-#include "data_wrapper.h"
-#include "settings_provider.h"
-#include "view_bottomslider.h"
-
-/**
-* This function is invoked to create view layout.
-*
-* @param mgr [in] The setting_mgr data pointer passed by @settingmgr_view_push.
-* @param view [in] The settingview_data data pointer passed by @settingmgr_view_push.
-* @param prev [in] The parameter data which passed by prev view or NULL.
-* @return View layout evas object, NULL on error.
-*/
-static Evas_Object *_create(struct setting_mgr *mgr,
- struct settingview_data *view, void *prev)
-{
- /*TODO:Implement this function*/
- return NULL;
-}
-
-/**
-* This function is invoked to show view layout.
-*
-* @param base [in] The view layout evas object.
-* @return void.
-*/
-static void _show(Evas_Object *base)
-{
-}
-
-/**
-* This function is invoked to destroy view layout.
-*
-* @param base [in] The view layout evas object.
-* @return void.
-*/
-static void _destroy(Evas_Object *base)
-{
-}
-
-/**
-* This function is invoked to hide view layout.
-*
-* @param base [in] The view layout evas object.
-* @return void.
-*/
-static void _hide(Evas_Object *base)
-{
-}
-
-static struct setting_class _vclass = {
- VCLASS_TITLE_BOTTOM_SLIDER,
- _create,
- _show,
- NULL,
- NULL,
- NULL,
- NULL,
- _hide,
- _destroy,
- NULL,
- NULL,
- NULL,
- 1
-};
-
-/**
-* This function is invoked to get bottom slider view class object.
-*
-* @return The setting_class data static pointer, NULL on error.
-*/
-struct setting_class *view_bottomslider_get_vclass(void)
-{
- return &_vclass;
-}
diff --git a/src/view_bottomsublist.cpp b/src/view_bottomsublist.cpp
deleted file mode 100644
index 1da0a12..0000000
--- a/src/view_bottomsublist.cpp
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <utilX.h>
-#include "dbg.h"
-#include "def.h"
-#include "stdbool.h"
-#include "viewmgr.h"
-#include "utils.h"
-#include "data_wrapper.h"
-#include "settings_provider.h"
-#include "view_bottomsublist.h"
-
-/**
-* This function is invoked to create view layout.
-*
-* @param mgr [in] The setting_mgr data pointer passed by @settingmgr_view_push.
-* @param view [in] The settingview_data data pointer passed by @settingmgr_view_push.
-* @param prev [in] The parameter data which passed by prev view or NULL.
-* @return View layout evas object, NULL on error.
-*/
-static Evas_Object *_create(struct setting_mgr *mgr,
- struct settingview_data *view, void *prev)
-{
- /*TODO:Implement this function*/
- return NULL;
-}
-
-/**
-* This function is invoked to show view layout.
-*
-* @param base [in] The view layout evas object.
-* @return void.
-*/
-static void _show(Evas_Object *base)
-{
-}
-
-/**
-* This function is invoked to destroy view layout.
-*
-* @param base [in] The view layout evas object.
-* @return void.
-*/
-static void _destroy(Evas_Object *base)
-{
-}
-
-/**
-* This function is invoked to destroy view layout.
-*
-* @param base [in] The view layout evas object.
-* @return void.
-*/
-static void _hide(Evas_Object *base)
-{
-}
-
-static struct setting_class _vclass = {
- VCLASS_TITLE_BOTTOM_SUBLIST,
- _create,
- _show,
- NULL, // pause
- NULL, // resume
- NULL, // refresh
- NULL, // update
- _hide,
- _destroy,
- NULL, // lang_changed
- NULL, // frozen
- NULL, // active
- 1
-};
-
-/**
-* This function is invoked to get bottom sublist view class object.
-*
-* @return The setting_class data static pointer, NULL on error.
-*/
-struct setting_class *view_bottomsublist_get_vclass(void)
-{
- return &_vclass;
-}
diff --git a/src/view_device_manager.cpp b/src/view_device_manager.cpp
deleted file mode 100644
index ce71c56..0000000
--- a/src/view_device_manager.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <utilX.h>
-#include "dbg.h"
-#include "def.h"
-#include "stdbool.h"
-#include "viewmgr.h"
-#include "utils.h"
-#include "data_wrapper.h"
-#include "settings_provider.h"
-#include "view_maincatalog.h"
-#include "view_device_manager.h"
-
-static Evas_Object *_create(struct setting_mgr *mgr,
- struct settingview_data *view, void *prev)
-{
- /*TODO:Implement this function*/
- return NULL;
-}
-
-static void _show(Evas_Object *base)
-{
-}
-
-static void _destroy(Evas_Object *base)
-{
-}
-
-static void _hide(Evas_Object *base)
-{
-}
-
-static struct setting_class _vclass = {
- VCLASS_TITLE_DEVICE_MANAGER,
- _create,
- _show,
- NULL,
- NULL,
- NULL,
- NULL,
- _hide,
- _destroy,
- NULL,
- NULL,
- NULL,
- 0
-};
-
-struct setting_class *view_device_manager_get_vclass(void)
-{
- return &_vclass;
-}
diff --git a/src/view_resetpopup.cpp b/src/view_resetpopup.cpp
deleted file mode 100644
index cf99bde..0000000
--- a/src/view_resetpopup.cpp
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <utilX.h>
-#include "dbg.h"
-#include "def.h"
-#include "stdbool.h"
-#include "viewmgr.h"
-#include "utils.h"
-#include "data_wrapper.h"
-#include "settings_provider.h"
-#include "view_resetpopup.h"
-
-/**
-* This function is invoked to create view layout.
-*
-* @param mgr [in] The setting_mgr data pointer passed by @settingmgr_view_push.
-* @param view [in] The settingview_data data pointer passed by @settingmgr_view_push.
-* @param prev [in] The parameter data which passed by prev view or NULL.
-* @return View layout evas object, NULL on error.
-*/
-static Evas_Object *_create(struct setting_mgr *mgr,
- struct settingview_data *view, void *prev)
-{
- /*TODO:Implement this function*/
- return NULL;
-}
-
-/**
-* This function is invoked to show view layout.
-*
-* @param base [in] The view layout evas object.
-* @return void.
-*/
-static void _show(Evas_Object *base)
-{
-}
-
-/**
-* This function is invoked to destroy view layout.
-*
-* @param base [in] The view layout evas object.
-* @return void.
-*/
-static void _destroy(Evas_Object *base)
-{
-}
-
-/**
-* This function is invoked to hide view layout.
-*
-* @param base [in] The view layout evas object.
-* @return void.
-*/
-static void _hide(Evas_Object *base)
-{
-}
-
-static struct setting_class _vclass = {
- VCLASS_TITLE_RESET_POPUP,
- _create,
- _show,
- NULL,
- NULL,
- NULL,
- NULL,
- _hide,
- _destroy,
- NULL,
- NULL,
- NULL,
- 0
-};
-
-/**
-* This function is invoked to get reset popup view class object.
-*
-* @return The setting_class data static pointer, NULL on error.
-*/
-struct setting_class *view_resetpopup_get_vclass(void)
-{
- return &_vclass;
-}
diff --git a/src/view_upgrade_popup.cpp b/src/view_upgrade_popup.cpp
deleted file mode 100644
index 075b1e5..0000000
--- a/src/view_upgrade_popup.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <utilX.h>
-#include "dbg.h"
-#include "utils.h"
-#include "view_upgrade_popup.h"
-
-static Evas_Object *_create(struct setting_mgr *mgr,
- struct settingview_data *view, void *prev)
-{
- return NULL;
-}
-
-static void _show(Evas_Object *base)
-{
-}
-
-static void _destroy(Evas_Object *base)
-{
-}
-
-static void _hide(Evas_Object *base)
-{
-}
-
-static struct setting_class _vclass = {
- VCLASS_TITLE_UPGRADE,
- _create,
- _show,
- NULL,
- NULL,
- NULL,
- NULL,
- _hide,
- _destroy,
- NULL,
- NULL,
- NULL,
- 0
-};
-
-struct setting_class *view_upgrade_popup_get_vclass(void)
-{
- return &_vclass;
-}
diff --git a/src/viewmgr.cpp b/src/viewmgr.cpp
index 1d7077e..a103874 100644
--- a/src/viewmgr.cpp
+++ b/src/viewmgr.cpp
@@ -23,12 +23,7 @@
#include "view_maincatalog.h"
#include "view_uigadget.h"
#include "view_sublist.h"
-#include "view_bottomsublist.h"
-#include "view_bottomslider.h"
#include "view_pwd_popup.h"
-#include "view_device_manager.h"
-#include "view_resetpopup.h"
-#include "view_upgrade_popup.h"
#include "view_system_clock.h"
#include "view_need_pwd.h"
@@ -69,34 +64,10 @@ static struct settingui_func_map g_func_map[] = {
.get_vclass = view_sublist_get_vclass
},
{
- .style = STYLE_BOTTOM_CTXPOPUP,
- .get_vclass = view_bottomsublist_get_vclass
- },
- {
- .style = STYLE_BOTTOMSLIDER,
- .get_vclass = view_bottomslider_get_vclass
- },
- {
- .style = STYLE_BOTTOM2WAYSLIDER,
- .get_vclass = view_bottomslider_get_vclass
- },
- {
.style = STYLE_PASSCODE_POPUP,
.get_vclass = view_passcode_popup_get_vclass
},
{
- .style = STYLE_DEVICE_MANAGER,
- .get_vclass = view_device_manager_get_vclass
- },
- {
- .style = STYLE_RESET_POPUP,
- .get_vclass = view_resetpopup_get_vclass
- },
- {
- .style = STYLE_UPGRADE_POPUP,
- .get_vclass = view_upgrade_popup_get_vclass
- },
- {
.style = STYLE_CLOCK_CTXPOPUP,
.get_vclass = view_system_clock_get_vclass
},