inet/zz_html_service.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 2004-2006, Toni Thomsson <toni@tonjac.org> 
00007 */
00008 
00015 #ifndef zz_html_service_h
00016 #define zz_html_service_h
00017 
00018 #include <zz_string.h>
00019 #include <zz_parameter_map.h>
00020 #include <zz_log.h>
00021 #include <map>
00022 #include <vector>
00023 #include "zz_html_service_data_reply.h"
00024 
00025 class ZZ_API CzzHtmlService
00026 {
00027 public:
00028 
00029         virtual ~CzzHtmlService();
00030         virtual CzzHtmlServiceDataReply* execute( void* session, CzzParameterMap* req ) = 0;
00031 
00037     virtual int size() = 0;
00038 
00039 protected:
00040         
00041         CzzHtmlService( const CzzString& name );
00042 
00043         CzzString urlEncode( const CzzString& url );
00044         CzzLog m_Log;
00045         CzzString m_Name;
00046 };
00047 
00048 #endif // zz_html_service_h

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