aboutsummaryrefslogtreecommitdiff
path: root/src/filemgr.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/filemgr.h16
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{
10friend class Bu::Singleton<FileMgr>; 10friend class Bu::Singleton<FileMgr>;
11private: 11private:
12 FileMgr(); 12 FileMgr();
13 virtual ~FileMgr(); 13 virtual ~FileMgr();
14 14
15public: 15public:
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
20private: 20private:
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