#pragma once #include #include "main.h" #include "MessageGlobals.h" #include "drydemoxmlstates.h" // TODO maybe the DryDemoStates in the scxml not needed? #define _StateController StateController::I() class StateController : public QObject { Q_OBJECT SINGLETON(StateController) public: void init(); void quit(); public slots: void onStateControllerUnhandledMsgReceived(const QVariantList &msg); private: drydemoXMLstates _dryDemo; };