inet/zz_cgi_output.h

Go to the documentation of this file.
00001 /* libzzinet
00002  *
00003  * This program is distributed under the GNU General Public License, version 2.
00004  * A copy of this license is included with this source.
00005  *
00006  * Copyright 2000-2006, Toni Thomsson <toni@tonjac.org> 
00007 */
00008 
00015 #ifndef zz_cgi_output_h
00016 #define zz_cgi_output_h
00017 
00018 #include <zz_string.h>
00019 
00020 class ZZ_API CzzCGIOutput
00021 {
00022 public:
00023 
00024         //* Construction
00025         CzzCGIOutput( void );
00026         CzzCGIOutput( bool StdOut );
00027         CzzCGIOutput( bool StdOut, const CzzString& output );
00028         virtual ~CzzCGIOutput();
00029 
00030         void append( const CzzString& add );
00031         int size( void );
00032 
00033         char* allocReply( void );
00034         static char* freeReply( char* buff );
00035 
00036 protected:
00037 private:
00038         bool m_Stdout;
00039         CzzString m_Output;
00040 
00041 };
00042 
00043 #endif // zz_cgi_output_h

Generated on Thu Sep 21 21:45:42 2006 for tonjac.org MINI/C++ library by  doxygen 1.4.6-NO