Switch from Nz prefix to namespace Nz

What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
This commit is contained in:
Lynix
2015-09-25 19:20:05 +02:00
parent c214251ecf
commit df8da275c4
609 changed files with 68265 additions and 66534 deletions

View File

@@ -9,28 +9,31 @@
#include <Nazara/Prerequesites.hpp>
class NzSemaphoreImpl;
class NAZARA_CORE_API NzSemaphore
namespace Nz
{
public:
NzSemaphore(unsigned int count);
NzSemaphore(const NzSemaphore&) = delete;
NzSemaphore(NzSemaphore&&) = delete; ///TODO
~NzSemaphore();
class SemaphoreImpl;
unsigned int GetCount() const;
class NAZARA_CORE_API Semaphore
{
public:
Semaphore(unsigned int count);
Semaphore(const Semaphore&) = delete;
Semaphore(Semaphore&&) = delete; ///TODO
~Semaphore();
void Post();
unsigned int GetCount() const;
void Wait();
bool Wait(nzUInt32 timeout);
void Post();
NzSemaphore& operator=(const NzSemaphore&) = delete;
NzSemaphore& operator=(NzSemaphore&&) = delete; ///TODO
void Wait();
bool Wait(UInt32 timeout);
private:
NzSemaphoreImpl* m_impl;
};
Semaphore& operator=(const Semaphore&) = delete;
Semaphore& operator=(Semaphore&&) = delete; ///TODO
private:
SemaphoreImpl* m_impl;
};
}
#endif // NAZARA_SEMAPHORE_HPP