axmol/cocos/2d/platform/android/nativeactivity.h

13 lines
292 B
C
Raw Normal View History

2013-08-02 07:23:11 +08:00
#ifndef __COCOSNATIVEACTIVITY_H__
#define __COCOSNATIVEACTIVITY_H__
/**
* This is the interface to the Android native activity
*/
2013-11-29 19:34:36 +08:00
void enableAccelerometerJni(void);
void disableAccelerometerJni(void);
void setAccelerometerIntervalJni(float interval);
2013-08-02 07:23:11 +08:00
#endif // __COCOSNATIVEACTIVITY_H__