mirror of https://github.com/axmolengine/axmol.git
13 lines
283 B
C
13 lines
283 B
C
|
#ifndef __COCOSNATIVEACTIVITY_H__
|
||
|
#define __COCOSNATIVEACTIVITY_H__
|
||
|
|
||
|
/**
|
||
|
* This is the interface to the Android native activity
|
||
|
*/
|
||
|
|
||
|
void enableAccelerometer(void);
|
||
|
void disableAccelerometer(void);
|
||
|
void setAccelerometerInterval(float interval);
|
||
|
|
||
|
#endif // __COCOSNATIVEACTIVITY_H__
|