#ifndef QSEMAPHORE_H
#define QSEMAPHORE_H
#include <QtCore/qglobal.h>
typedef enum QtValidLicenseForCoreModule QtCoreModule;
#ifndef QT_NO_THREAD
struct QSemaphorePrivate;
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