diff options
Diffstat (limited to 'ambd/qtmainloop.h')
-rw-r--r-- | ambd/qtmainloop.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ambd/qtmainloop.h b/ambd/qtmainloop.h new file mode 100644 index 00000000..a3d7affb --- /dev/null +++ b/ambd/qtmainloop.h @@ -0,0 +1,19 @@ +#ifndef _QTMAINLOOP_H_ +#define _QTMAINLOOP_H_ + +#include <QCoreApplication> +#include "imainloop.h" + +class QtMainLoop: public IMainLoop +{ +public: + + QtMainLoop(int argc, char **argv); + ~QtMainLoop(); + + int exec(); +private: + QCoreApplication* app; +}; + +#endif |