From 7f8c9108299772eb510e8f2470bdf81b48fd3e66 Mon Sep 17 00:00:00 2001 From: Sungwook Park Date: Tue, 25 Aug 2020 13:57:57 +0900 Subject: [PATCH] Remove unused file Change-Id: I13d5f61a0326bb325aeba0473f61de4c88a1deb5 Signed-off-by: Sungwook Park --- CMakeLists.txt | 4 ++-- client/CMakeLists.txt | 1 - client/GestureSensor.c | 56 -------------------------------------------------- client/GestureSensor.h | 48 ------------------------------------------- client/gesture.c | 1 - client/gesture_main.h | 1 - 6 files changed, 2 insertions(+), 109 deletions(-) delete mode 100644 client/GestureSensor.c delete mode 100644 client/GestureSensor.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 0872c9c..5ccea7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,8 +25,8 @@ pkg_check_modules(pkgs REQUIRED cynara-session capi-appfw-app-common capi-appfw-app-control - capi-appfw-app-manager - capi-appfw-package-manager + capi-appfw-app-manager + capi-appfw-package-manager dbus-1 capi-system-info aul diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index ebc91f2..c2a5176 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -1,6 +1,5 @@ SET(SRCS gesture.c - GestureSensor.c gesture_client_dbus.c ) diff --git a/client/GestureSensor.c b/client/GestureSensor.c deleted file mode 100644 index 9f4818b..0000000 --- a/client/GestureSensor.c +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. - * - * 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 "GestureSensor.h" - - - -bool setGesture(hand_gesture_type_e type) -{ - return true; -} - -void setPowerSave(bool ps) -{ - -} - -void setCallback(hand_gesture_recognition_cb cb) -{ - -} - -void setUserData(void* data) -{ - -} - -bool start() -{ - return true; -} - -bool stop() -{ - return true; -} - -bool isSensorSupported(hand_gesture_type_e type) -{ - return true; -} - diff --git a/client/GestureSensor.h b/client/GestureSensor.h deleted file mode 100644 index c092532..0000000 --- a/client/GestureSensor.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. - * - * 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. - * - */ - -#ifndef __GESTURE_SENSOR_H__ -#define __GESTURE_SENSOR_H__ - -#include "gesture_main.h" - -#ifdef __cplusplus -extern "C" -{ -#endif - -bool setGesture(hand_gesture_type_e type); -void setPowerSave(bool ps); -void setCallback(hand_gesture_recognition_cb cb); -void setUserData(void* data); - -bool start(); -bool stop(); - -bool isSensorSupported(hand_gesture_type_e type); - -hand_gesture_type_e __gestureType; -hand_gesture_recognition_cb __callback; -void *__userData; - - -#ifdef __cplusplus -} -#endif - -#endif /* __GESTURE_SENSOR_H__ */ - diff --git a/client/gesture.c b/client/gesture.c index 96fe1be..df6ae46 100644 --- a/client/gesture.c +++ b/client/gesture.c @@ -304,7 +304,6 @@ EXPORT_API int hand_gesture_stop_recognition(hand_gesture_h handle) CHECK_GESTURE_FEATURE(); ASSERT_NOT_NULL(handle); - IF_FAIL_RETURN(stop(), HAND_GESTURE_ERROR_NOT_STARTED); int ret = HAND_GESTURE_ERROR_NONE; ret = gesture_client_dbus_stop_recognition(handle->gdbus_connection); diff --git a/client/gesture_main.h b/client/gesture_main.h index c35f331..4688228 100644 --- a/client/gesture_main.h +++ b/client/gesture_main.h @@ -20,7 +20,6 @@ #include #include #include "gesture.h" -#include #ifdef __cplusplus -- 2.7.4