summaryrefslogtreecommitdiff
path: root/map65/sleep.h
blob: c11188c2a4c3a7568cacc72dc4ba4145bea94d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SLEEP_H
#define SLEEP_H
#include <qthread.h>

class Sleep : public QThread
{
public:
  static void msleep(int ms) {
    QThread::msleep(ms);
  }
  static int idealThreadCount() {
    return QThread::idealThreadCount();
  }
};

#endif // SLEEP_H