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,27 +9,30 @@
#include <Nazara/Prerequesites.hpp>
class NzMutexImpl;
class NAZARA_CORE_API NzMutex
namespace Nz
{
friend class NzConditionVariable;
class MutexImpl;
public:
NzMutex();
NzMutex(const NzMutex&) = delete;
NzMutex(NzMutex&&) = delete; ///TODO
~NzMutex();
class NAZARA_CORE_API Mutex
{
friend class ConditionVariable;
void Lock();
bool TryLock();
void Unlock();
public:
Mutex();
Mutex(const Mutex&) = delete;
Mutex(Mutex&&) = delete; ///TODO
~Mutex();
NzMutex& operator=(const NzMutex&) = delete;
NzMutex& operator=(NzMutex&&) = delete; ///TODO
void Lock();
bool TryLock();
void Unlock();
private:
NzMutexImpl* m_impl;
};
Mutex& operator=(const Mutex&) = delete;
Mutex& operator=(Mutex&&) = delete; ///TODO
private:
MutexImpl* m_impl;
};
}
#endif // NAZARA_MUTEX_HPP