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

@@ -13,30 +13,33 @@
#include <Nazara/Graphics/Config.hpp>
#include <Nazara/Graphics/Enums.hpp>
class NzAbstractBackground;
class NzAbstractViewer;
using NzBackgroundConstRef = NzObjectRef<const NzAbstractBackground>;
using NzBackgroundLibrary = NzObjectLibrary<NzAbstractBackground>;
using NzBackgroundRef = NzObjectRef<NzAbstractBackground>;
class NAZARA_GRAPHICS_API NzAbstractBackground : public NzRefCounted
namespace Nz
{
public:
NzAbstractBackground() = default;
NzAbstractBackground(const NzAbstractBackground&) = default;
NzAbstractBackground(NzAbstractBackground&&) = delete;
virtual ~NzAbstractBackground();
class AbstractBackground;
class AbstractViewer;
virtual void Draw(const NzAbstractViewer* viewer) const = 0;
using BackgroundConstRef = ObjectRef<const AbstractBackground>;
using BackgroundLibrary = ObjectLibrary<AbstractBackground>;
using BackgroundRef = ObjectRef<AbstractBackground>;
virtual nzBackgroundType GetBackgroundType() const = 0;
class NAZARA_GRAPHICS_API AbstractBackground : public RefCounted
{
public:
AbstractBackground() = default;
AbstractBackground(const AbstractBackground&) = default;
AbstractBackground(AbstractBackground&&) = delete;
virtual ~AbstractBackground();
NzAbstractBackground& operator=(const NzAbstractBackground&) = default;
NzAbstractBackground& operator=(NzAbstractBackground&&) = delete;
virtual void Draw(const AbstractViewer* viewer) const = 0;
private:
static NzBackgroundLibrary::LibraryMap s_library;
};
virtual BackgroundType GetBackgroundType() const = 0;
AbstractBackground& operator=(const AbstractBackground&) = default;
AbstractBackground& operator=(AbstractBackground&&) = delete;
private:
static BackgroundLibrary::LibraryMap s_library;
};
}
#endif // NAZARA_ABSTRACTBACKGROUND_HPP