#include <QtCore/qsemaphore.h>
#ifndef QSEMAPHORE_H
#ifndef QT_NO_THREAD
class QSemaphore{
   public: explicit QSemaphore(int n = 0);
   public: ~QSemaphore();
   public: void acquire(int n = 1);
   public: bool tryAcquire(int n = 1);
   public: void release(int n = 1);
   public: int available() const
   private: QSemaphore(class QSemaphore const &);
   private: class QSemaphore& operator =(class QSemaphore const &);
   private: struct QSemaphorePrivate* d;
};
#endif // QT_NO_THREAD
#endif // QSEMAPHORE_H