src/sensor/SDL_sensor_c.h
changeset 12366 c46e72bd9950
parent 12130 24142c5073a4
child 12503 806492103856
equal deleted inserted replaced
12365:09e3ef028bc8 12366:c46e72bd9950
    16      appreciated but is not required.
    16      appreciated but is not required.
    17   2. Altered source versions must be plainly marked as such, and must not be
    17   2. Altered source versions must be plainly marked as such, and must not be
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
       
    21 
       
    22 #ifndef SDL_sensor_c_h_
       
    23 #define SDL_sensor_c_h_
       
    24 
    21 #include "SDL_config.h"
    25 #include "SDL_config.h"
    22 
    26 
    23 struct _SDL_SensorDriver;
    27 struct _SDL_SensorDriver;
    24 
    28 
    25 /* Useful functions and variables from SDL_sensor.c */
    29 /* Useful functions and variables from SDL_sensor.c */
    33 extern void SDL_SensorQuit(void);
    37 extern void SDL_SensorQuit(void);
    34 
    38 
    35 /* Internal event queueing functions */
    39 /* Internal event queueing functions */
    36 extern int SDL_PrivateSensorUpdate(SDL_Sensor *sensor, float *data, int num_values);
    40 extern int SDL_PrivateSensorUpdate(SDL_Sensor *sensor, float *data, int num_values);
    37 
    41 
       
    42 #endif /* SDL_sensor_c_h_ */
       
    43 
    38 /* vi: set ts=4 sw=4 expandtab: */
    44 /* vi: set ts=4 sw=4 expandtab: */