Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

/home/groups/n/no/noxwizard/cvs/src/amx/amxfile.h

Go to the documentation of this file.
00001 #ifndef __AMXFILE_H__
00002 #define __AMXFILE_H__
00003 
00004 #include "nxwcommn.h"
00005 
00006 typedef map< UI32, FILE* >      mAmxFile;
00007 typedef mAmxFile::iterator      miAmxFile;
00008 
00009 
00010 class amxFiles
00011 {
00012         private:
00013                 mAmxFile        files;
00014                 UI32            lastHandleIssued;
00015         public:
00016                                 amxFiles();
00017                                 ~amxFiles();
00018         public:
00019                 SI32            open( const std::string &name, const std::string &mode );
00020                 LOGICAL         close( const SI32 handle );
00021                 LOGICAL         eof( const SI32 handle );
00022                 LOGICAL         write( const SI32 handle, const std::string &line );
00023                 std::string     read( const SI32 handle );
00024 };
00025 
00026 extern amxFiles amxFileServer;
00027 
00028 #endif
SourceForge.net Logo