mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 16:42:12 -05:00
280c8344cd
Preparation for merging with the wsjtx project repository.
18 lines
274 B
C++
18 lines
274 B
C++
// -*- Mode: C++ -*-
|
|
#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
|