CGIFile.h

00001 // $Id: CGIFile.h 21 2010-09-05 04:18:17Z cschwarz1 $
00002 
00003 #ifndef BASE_CGIFILE_H
00004 #define BASE_CGIFILE_H
00005 
00006 #include "libppbase/base/MemFile.h"
00007 
00008 namespace base_cgi {
00010 
00014     class PPBASE_CGI_EXPORT CGIFile: public base::MemFile {
00015     public:
00017 
00022         CGIFile(const base::String &name, const base::String &filename, size_t memlimit = 1048576);
00023 
00025 
00028         const base::String &getFileName() const;
00029 
00031 
00034         const base::String &getName() const;
00035 
00036     private:
00037         base::String _filename;   
00038         base::String _name;       
00039     };
00040 }
00041 
00042 #endif