src/SimulatorSocketServer.h
branchv_0
changeset 3 42d64bd73232
parent 2 a27850958a67
child 4 a874deb6a536
equal deleted inserted replaced
2:a27850958a67 3:42d64bd73232
    15  * You should have received a copy of the GNU General Public License
    15  * You should have received a copy of the GNU General Public License
    16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
    16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
    17  */
    17  */
    18 #pragma once
    18 #pragma once
    19 
    19 
    20 class SimulatorSocketServer {
    20 #include <qt5/QtCore/QObject>
       
    21 
       
    22 #include "MotionEvent.h"
       
    23 #include "ButtonEvent.h"
       
    24 
       
    25 class SimulatorSocketServer : public QObject {
       
    26 	Q_OBJECT
    21 public:
    27 public:
    22 	SimulatorSocketServer();
    28 	SimulatorSocketServer();
    23 	SimulatorSocketServer(const SimulatorSocketServer& orig);
    29 	SimulatorSocketServer(const SimulatorSocketServer& orig);
    24 	virtual ~SimulatorSocketServer();
    30 	virtual ~SimulatorSocketServer();
       
    31 public slots:
       
    32 	void publishMotionEvent(const MotionEvent e);
       
    33 	void publishButtonEvent(const ButtonEvent e);
    25 private:
    34 private:
    26 
    35 
    27 };
    36 };