ostinato/client/mythread.h
2008-05-03 14:37:10 +00:00

24 lines
302 B
C++

#ifndef _MY_THREAD_H
#define _MY_THREAD_H
#include <QThread>
#define NumPorts 2
#define NumStats 8
class MyThread : public QThread
{
Q_OBJECT
public:
void run();
signals:
void portStatsUpdate(int port, void *stats);
private:
int stats[2][8];
};
#endif