diff -r 9cd86b92aabb -r a27850958a67 src/SimulatorWindow.h --- a/src/SimulatorWindow.h Thu Mar 14 00:23:34 2019 +0100 +++ b/src/SimulatorWindow.h Thu Mar 14 16:11:08 2019 +0100 @@ -23,12 +23,18 @@ #include #include +#include "MotionEvent.h" +#include "ButtonEvent.h" + class SimulatorWindow : public QMainWindow { Q_OBJECT public: SimulatorWindow(); SimulatorWindow(const SimulatorWindow& orig); virtual ~SimulatorWindow(); +signals: + void motionEvent(const MotionEvent e); + void buttonEvent(const ButtonEvent e); private: std::vector buttons; std::vector motions; @@ -38,4 +44,5 @@ private slots: void centerAll(); + void sendMotionEvent(); };