From 5534828032730762f8c1e4daf924b466fffb8be0 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 16 Oct 2018 23:09:18 +0800 Subject: =?UTF-8?q?*=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Filesystem/Filesystem.h | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'src/libjin/Filesystem/Filesystem.h') diff --git a/src/libjin/Filesystem/Filesystem.h b/src/libjin/Filesystem/Filesystem.h index 3ae984d..b43d260 100644 --- a/src/libjin/Filesystem/Filesystem.h +++ b/src/libjin/Filesystem/Filesystem.h @@ -3,29 +3,29 @@ namespace jin { -namespace filesystem -{ - /* 资源管理 */ - class Filesystem - { - public: - static Filesystem* get(); + namespace filesystem + { + /* 资源管理 */ + class Filesystem + { + public: + static Filesystem* get(); - Filesystem(); + Filesystem(); - bool isDir(const char* path); - bool isFile(const char* path); - bool exists(const char* path); - int read(const char* path, Buffer* buffer); - void* read(const char* path, unsigned int* len); - void mount(const char* root); - const char* getFull(const char* path); + bool isDir(const char* path); + bool isFile(const char* path); + bool exists(const char* path); + int read(const char* path, Buffer* buffer); + void* read(const char* path, unsigned int* len); + void mount(const char* root); + const char* getFull(const char* path); - private: - static Filesystem* fs; - smtShared* S; + private: + static Filesystem* fs; + smtShared* S; - }; + }; -} // filesystem + } // filesystem } // jin \ No newline at end of file -- cgit v1.1-26-g67d0