summaryrefslogtreecommitdiff
path: root/map65/sleep.h
diff options
context:
space:
mode:
Diffstat (limited to 'map65/sleep.h')
-rw-r--r--map65/sleep.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/map65/sleep.h b/map65/sleep.h
new file mode 100644
index 00000000..c11188c2
--- /dev/null
+++ b/map65/sleep.h
@@ -0,0 +1,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