Upgrade Utility
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/Core.hpp>
|
||||
#include <Nazara/Utility/Animation.hpp>
|
||||
#include <Nazara/Utility/Config.hpp>
|
||||
#include <Nazara/Utility/Font.hpp>
|
||||
#include <Nazara/Utility/Image.hpp>
|
||||
#include <Nazara/Utility/Mesh.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
@@ -23,9 +27,34 @@ namespace Nz
|
||||
struct Config {};
|
||||
|
||||
Utility(Config /*config*/);
|
||||
Utility(const Utility&) = delete;
|
||||
Utility(Utility&&) = delete;
|
||||
~Utility();
|
||||
|
||||
AnimationLoader& GetAnimationLoader();
|
||||
const AnimationLoader& GetAnimationLoader() const;
|
||||
FontLoader& GetFontLoader();
|
||||
const FontLoader& GetFontLoader() const;
|
||||
ImageLoader& GetImageLoader();
|
||||
const ImageLoader& GetImageLoader() const;
|
||||
ImageSaver& GetImageSaver();
|
||||
const ImageSaver& GetImageSaver() const;
|
||||
MeshLoader& GetMeshLoader();
|
||||
const MeshLoader& GetMeshLoader() const;
|
||||
MeshSaver& GetMeshSaver();
|
||||
const MeshSaver& GetMeshSaver() const;
|
||||
|
||||
Utility& operator=(const Utility&) = delete;
|
||||
Utility& operator=(Utility&&) = delete;
|
||||
|
||||
private:
|
||||
AnimationLoader m_animationLoader;
|
||||
FontLoader m_fontLoader;
|
||||
ImageLoader m_imageLoader;
|
||||
ImageSaver m_imageSaver;
|
||||
MeshLoader m_meshLoader;
|
||||
MeshSaver m_meshSaver;
|
||||
|
||||
static Utility* s_instance;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user