#ifndef __HTTPSERV_H__ #define __HTTPSERV_H__ #ifdef __cplusplus #include #include #include #include #include #include class HttpServ : public Task { public: HttpServ(Action *, int = 1500, const String & = String("GruiK Server v0.1")) throw (GeneralException); virtual ~HttpServ(); void SetMenu(Action *); virtual String GetName(); protected: virtual int Do() throw (GeneralException); private: Socket Listener; Action * p; String name; int localport; }; extern String endhl, endnl; #else #error This only works with a C++ compiler #endif #endif