diff options
Diffstat (limited to '')
-rw-r--r-- | src/filemgr.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/filemgr.h b/src/filemgr.h index 517e784..5241eee 100644 --- a/src/filemgr.h +++ b/src/filemgr.h | |||
@@ -9,18 +9,18 @@ class FileMgr : public Bu::Singleton<FileMgr> | |||
9 | { | 9 | { |
10 | friend class Bu::Singleton<FileMgr>; | 10 | friend class Bu::Singleton<FileMgr>; |
11 | private: | 11 | private: |
12 | FileMgr(); | 12 | FileMgr(); |
13 | virtual ~FileMgr(); | 13 | virtual ~FileMgr(); |
14 | 14 | ||
15 | public: | 15 | public: |
16 | int open( const Bu::String &sPath, int iMode ); | 16 | int open( const Bu::String &sPath, int iMode ); |
17 | Bu::File &get( int iId ); | 17 | Bu::File &get( int iId ); |
18 | void close( int iId ); | 18 | void close( int iId ); |
19 | 19 | ||
20 | private: | 20 | private: |
21 | typedef Bu::Hash<int, Bu::File *> FileHash; | 21 | typedef Bu::Hash<int, Bu::File *> FileHash; |
22 | FileHash hFile; | 22 | FileHash hFile; |
23 | int iNextId; | 23 | int iNextId; |
24 | }; | 24 | }; |
25 | 25 | ||
26 | #endif | 26 | #endif |