diff --git a/cocos2dx/platform/android/CCXUIAccelerometer_android.h b/cocos2dx/platform/android/CCXUIAccelerometer_android.h index d32dc61bc0..310b828233 100644 --- a/cocos2dx/platform/android/CCXUIAccelerometer_android.h +++ b/cocos2dx/platform/android/CCXUIAccelerometer_android.h @@ -27,21 +27,6 @@ THE SOFTWARE. namespace cocos2d { -typedef struct -{ - double x; - double y; - double z; - - double timestamp; -} UIAcceleration; - -class CCX_DLL UIAccelerometerDelegate -{ -public: - virtual void didAccelerate(UIAcceleration* pAccelerationValue) {} -}; - class CCX_DLL UIAccelerometer { public: diff --git a/cocos2dx/platform/iphone/CCXUIAccelerometer_iphone.h b/cocos2dx/platform/iphone/CCXUIAccelerometer_iphone.h index 2cbd2c2d3c..0bd634e0e8 100644 --- a/cocos2dx/platform/iphone/CCXUIAccelerometer_iphone.h +++ b/cocos2dx/platform/iphone/CCXUIAccelerometer_iphone.h @@ -27,21 +27,6 @@ THE SOFTWARE. namespace cocos2d { -typedef struct -{ - double x; - double y; - double z; - - double timestamp; -} UIAcceleration; - -class CCX_DLL UIAccelerometerDelegate -{ -public: - virtual void didAccelerate(UIAcceleration* pAccelerationValue) {} -}; - class CCX_DLL UIAccelerometer { public: diff --git a/cocos2dx/platform/win32/CCXUIAccelerometer_win32.h b/cocos2dx/platform/win32/CCXUIAccelerometer_win32.h index 3acc0cc485..3e7094d156 100644 --- a/cocos2dx/platform/win32/CCXUIAccelerometer_win32.h +++ b/cocos2dx/platform/win32/CCXUIAccelerometer_win32.h @@ -27,21 +27,6 @@ THE SOFTWARE. namespace cocos2d { -typedef struct -{ - double x; - double y; - double z; - - double timestamp; -} UIAcceleration; - -class CCX_DLL UIAccelerometerDelegate -{ -public: - virtual void didAccelerate(UIAcceleration* pAccelerationValue) {} -}; - class CCX_DLL UIAccelerometer { public: