mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-30 20:40:28 -04:00 
			
		
		
		
	git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2464 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
		
			
				
	
	
		
			17 lines
		
	
	
		
			253 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			253 B
		
	
	
	
		
			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
 |