diff options
Diffstat (limited to 'include/HttpServ.h')
-rw-r--r-- | include/HttpServ.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/include/HttpServ.h b/include/HttpServ.h index fc58246..e704814 100644 --- a/include/HttpServ.h +++ b/include/HttpServ.h @@ -1,30 +1,30 @@ -#ifndef __HTTPSERV_H__ -#define __HTTPSERV_H__ - -#include <Socket.h> -#include <BString.h> -#include <Variables.h> -#include <Action.h> -#include <Task.h> -#include <Exceptions.h> - -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; - -#endif +#ifndef __HTTPSERV_H__
+#define __HTTPSERV_H__
+
+#include <Socket.h>
+#include <BString.h>
+#include <Variables.h>
+#include <Action.h>
+#include <Task.h>
+#include <Exceptions.h>
+
+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;
+
+#endif
|