00001 #ifndef TILTINTERFACE_H
00002 #define TILTINTERFACE_H
00003
00004 #include "Types.h"
00005 #include "TiltEvent.h"
00006
00007 namespace RenderTools{
00008
00009 class TiltInterface {
00010 friend class TiltEvent;
00011 public:
00012 virtual void onTiltEvent( const TiltEvent & t ) = 0;
00013
00014 static bool getState( void );
00015 static const Vec3 & getOrientation( void );
00016
00017 private:
00018 static bool s_state;
00019 static Vec3 s_orientation;
00020 };
00021
00022 };
00023
00024 #endif
00025