From: Ramasamy Date: Fri, 2 Jan 2015 06:32:53 +0000 (+0530) Subject: Adding missing sensor_rv.h file X-Git-Tag: submit/tizen/20150113.012540~36^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=999f1b7ac14682a3d8654b6be3f91d999021c8b7;p=platform%2Fcore%2Fsystem%2Fsensord.git Adding missing sensor_rv.h file - Adding missing sensor_rv.h from local machine to repository to avoid compiler errors. Change-Id: I679ba00b31ca07a799ad0c8b4fc0b7753c02bb47 --- diff --git a/src/libsensord/sensor_rv.h b/src/libsensord/sensor_rv.h new file mode 100644 index 0000000..cad7977 --- /dev/null +++ b/src/libsensord/sensor_rv.h @@ -0,0 +1,58 @@ +/* + * 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_ROTATION_VECTOR_H__ +#define __SENSOR_ROTATION_VECTOR_H__ + +//! Pre-defined events for the rotation vector sensor +//! Sensor Plugin developer can add more event to their own headers + +#ifdef __cplusplus +extern "C" +{ +#endif + +/** + * @defgroup SENSOR_RV Rotation Vector Sensor + * @ingroup SENSOR_FRAMEWORK + * + * These APIs are used to control the Rotation Vector sensor. + * @{ + */ + +enum rot_data_id { + ROTATION_VECTOR_BASE_DATA_SET = (ROTATION_VECTOR_SENSOR << 16) | 0x0001, +}; + +enum rot_event_type { + ROTATION_VECTOR_EVENT_RAW_DATA_REPORT_ON_TIME = (ROTATION_VECTOR_SENSOR << 16) | 0x0001, + ROTATION_VECTOR_EVENT_CALIBRATION_NEEDED = (ROTATION_VECTOR_SENSOR << 16) | 0x0002, +}; + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif +//! End of a file +