Remove unused file 19/242219/1
authorSungwook Park <sungwook79.park@samsung.com>
Tue, 25 Aug 2020 04:57:57 +0000 (13:57 +0900)
committerSungwook Park <sungwook79.park@samsung.com>
Tue, 25 Aug 2020 04:57:57 +0000 (13:57 +0900)
Change-Id: I13d5f61a0326bb325aeba0473f61de4c88a1deb5
Signed-off-by: Sungwook Park <sungwook79.park@samsung.com>
CMakeLists.txt
client/CMakeLists.txt
client/GestureSensor.c [deleted file]
client/GestureSensor.h [deleted file]
client/gesture.c
client/gesture_main.h

index 0872c9c..5ccea7d 100644 (file)
@@ -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
index ebc91f2..c2a5176 100644 (file)
@@ -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 (file)
index 9f4818b..0000000
+++ /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 (file)
index c092532..0000000
+++ /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__ */
-
index 96fe1be..df6ae46 100644 (file)
@@ -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);
index c35f331..4688228 100644 (file)
@@ -20,7 +20,6 @@
 #include <gio/gio.h>
 #include <dbus/dbus.h>
 #include "gesture.h"
-#include <GestureSensor.h>
 
 
 #ifdef __cplusplus