summaryrefslogtreecommitdiff
path: root/source/libs/asura-lib-utils/filesystem/resource_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/libs/asura-lib-utils/filesystem/resource_manager.h')
-rw-r--r--source/libs/asura-lib-utils/filesystem/resource_manager.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/source/libs/asura-lib-utils/filesystem/resource_manager.h b/source/libs/asura-lib-utils/filesystem/resource_manager.h
deleted file mode 100644
index 36d46cf..0000000
--- a/source/libs/asura-lib-utils/filesystem/resource_manager.h
+++ /dev/null
@@ -1,48 +0,0 @@
-#ifndef __ASURA_ENGINE_RESOURCE_MANAGER_H__
-#define __ASURA_ENGINE_RESOURCE_MANAGER_H__
-
-#include <string>
-
-#include "../scripting/portable.hpp"
-#include "data_buffer.h"
-
-namespace AsuraEngine
-{
- namespace Filesystem
- {
-
- ///
- /// Դء洢ԴָĿ¼ȡ
- ///
- class ResourceManager ASURA_FINAL
- {
- public:
-
- ResourceManager();
- ~ResourceManager();
-
- ///
- /// װظĿ¼
- ///
- void Mount(const std::string& root);
-
- ///
- /// ȡļһdata bufferעҪȷȷڴ棬ڵôʹunique_ptr
- ///
- DataBuffer* LoadFile(const std::string& path);
-
- ///
- /// data buffer
- ///
- void SaveFile(const std::string& path, const DataBuffer* buffer);
-
- //----------------------------------------------------------------------------------------------------------
-
- LUAX_DECL_SINGLETON(ResourceManager);
-
- };
-
- }
-}
-
-#endif \ No newline at end of file