contrib: cargo: use the 0.6.13 cargo-c version
[vlc.git] / modules / control / motionlib.h
blobf5ba12e01a32b74b8a378620359f4bdbe97e66e2
1 /*****************************************************************************
2 * motion.h: laptop built-in motion sensors
3 *****************************************************************************
4 * Copyright (C) 2012 the VideoLAN team
6 * Author: Pierre Ynard
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21 *****************************************************************************/
23 #ifndef MOTION_H
24 #define MOTION_H
26 typedef struct motion_sensors_t motion_sensors_t;
28 motion_sensors_t *motion_create( vlc_object_t *obj );
29 void motion_destroy( motion_sensors_t *motion );
30 int motion_get_angle( motion_sensors_t *motion );
32 #endif