All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ITouchController.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "AppInterface.h"
7 
8 namespace Eegeo
9 {
11  {
12  public:
13  virtual ~ITouchController() {;}
14 
15  virtual void Reset() = 0;
16 
17  virtual void Event_TouchRotate(const AppInterface::RotateData& data) = 0;
18  virtual void Event_TouchRotate_Start(const AppInterface::RotateData& data) = 0;
19  virtual void Event_TouchRotate_End(const AppInterface::RotateData& data) = 0;
20 
21  virtual void Event_TouchPinch(const AppInterface::PinchData& data) = 0;
22  virtual void Event_TouchPinch_Start(const AppInterface::PinchData& data) = 0;
23  virtual void Event_TouchPinch_End(const AppInterface::PinchData& data) = 0;
24 
25  virtual void Event_TouchPan(const AppInterface::PanData& data) = 0;
26  virtual void Event_TouchPan_Start(const AppInterface::PanData& data) = 0;
27  virtual void Event_TouchPan_End(const AppInterface::PanData& data) = 0;
28 
29  virtual void Event_TouchTap(const AppInterface::TapData& data) = 0;
30  virtual void Event_TouchDoubleTap(const AppInterface::TapData& data) = 0;
31 
32  virtual void Event_TouchDown(const AppInterface::TouchData& data) = 0;
33  virtual void Event_TouchMove(const AppInterface::TouchData& data) = 0;
34  virtual void Event_TouchUp(const AppInterface::TouchData& data) = 0;
35 
36  virtual void Event_Zoom(const AppInterface::ZoomData& data) = 0;
37 
38  virtual void Event_TiltStart(const AppInterface::TiltData& data) {};
39  virtual void Event_TiltEnd(const AppInterface::TiltData& data) {};
40  virtual void Event_Tilt(const AppInterface::TiltData& data) {};
41  };
42 }