Switch from Nz prefix to namespace Nz
What a huge commit Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user