blob: fc58246f4b985a016ae94e9a65262c8b77df0a04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
|