author | unc0rr |
Wed, 05 Dec 2012 23:55:22 +0400 | |
branch | flibqtfrontend |
changeset 8233 | d3966a555e5e |
parent 8092 | 08960209db8c |
permissions | -rw-r--r-- |
#ifndef FRONTLIBPOLLER_H #define FRONTLIBPOLLER_H #include <QObject> #include <QBasicTimer> class FrontLibPoller : public QObject { Q_OBJECT public: explicit FrontLibPoller(void (*poll)(void *), void * data, QObject *parent = 0); private: QBasicTimer m_timer; void (*m_poll)(void *); void * m_data; void timerEvent(QTimerEvent *event); }; #endif // FRONTLIBPOLLER_H