From f8e186e29dc915112a6be63a899c63dd9f54f588 Mon Sep 17 00:00:00 2001 From: Kibak Yoon Date: Tue, 17 Feb 2015 14:53:52 +0900 Subject: [PATCH] sensord: remove sensor.h which supports some packages because it is unnecessary. It doesn't need to support sensor.h for some packages use internal api any more. Change-Id: I814d198c85ac44e01349dbf5741ff50501a6ae48 Signed-off-by: Kibak Yoon --- src/libsensord/CMakeLists.txt | 1 - src/libsensord/client.cpp | 1 - src/libsensord/sensor.h | 25 ------------------------- 3 files changed, 27 deletions(-) delete mode 100755 src/libsensord/sensor.h diff --git a/src/libsensord/CMakeLists.txt b/src/libsensord/CMakeLists.txt index 0fe82f6..2c5032e 100755 --- a/src/libsensord/CMakeLists.txt +++ b/src/libsensord/CMakeLists.txt @@ -35,7 +35,6 @@ SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${VERSION}) configure_file(${PROJECT_NAME}.pc.in ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc @ONLY) install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT RuntimeLibraries) -install(FILES sensor.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/sensor/) install(FILES sensor_internal_deprecated.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/sensor/) install(FILES sensor_internal.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/sensor/) install(FILES poller.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/sensor/) diff --git a/src/libsensord/client.cpp b/src/libsensord/client.cpp index 2191434..710bdcf 100755 --- a/src/libsensord/client.cpp +++ b/src/libsensord/client.cpp @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/src/libsensord/sensor.h b/src/libsensord/sensor.h deleted file mode 100755 index 2885a01..0000000 --- a/src/libsensord/sensor.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * libsensord - * - * Copyright (c) 2014 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 __SENSOR_IN_H__ -#define __SENSOR_IN_H__ - -#include - -#endif -- 2.7.4