diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_TouchManager.h')
-rw-r--r-- | intern/ghost/intern/GHOST_TouchManager.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_TouchManager.h b/intern/ghost/intern/GHOST_TouchManager.h new file mode 100644 index 00000000000..425d274a269 --- /dev/null +++ b/intern/ghost/intern/GHOST_TouchManager.h @@ -0,0 +1,43 @@ +/* + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * Contributor(s): + * Nicholas Rishel + * + * ***** END GPL LICENSE BLOCK ***** + */ + +#ifndef __GHOST_TOUCHMANAGER_H__ +#define __GHOST_TOUCHMANAGER_H__ + +#include "GHOST_System.h" + +class GHOST_TouchManager +{ +public: + GHOST_TouchManager(GHOST_System&); + + virtual ~GHOST_TouchManager() {}; + + void sendTouchEvent(GHOST_TUns8 index, GHOST_TProgress state, GHOST_TInt32 x, + GHOST_TInt32 y, GHOST_TUns64 time); + +protected: + GHOST_System& m_system; +}; + +#endif // GHOST_TOUCHMANAGER_H |