blob: a0dd9588d24050e5f45aec81bc5008f32088c762 (
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 <String.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
|