4 |
|
// |
5 |
|
// $Id$ |
6 |
|
|
7 |
< |
#ifndef _HostUpdate_h_ |
8 |
< |
#define _HostUpdate_h_ |
7 |
> |
#ifndef _HostUpdate_hpp_ |
8 |
> |
#define _HostUpdate_hpp_ |
9 |
|
|
10 |
|
#include <iostream> |
11 |
|
#include <cgicc/Cgicc.h> |
12 |
|
|
13 |
+ |
#include <sys/types.h> |
14 |
+ |
#include <sys/stat.h> |
15 |
+ |
|
16 |
+ |
#ifndef _WIN32 |
17 |
+ |
|
18 |
+ |
#include <unistd.h> |
19 |
+ |
|
20 |
+ |
#else |
21 |
+ |
|
22 |
+ |
#include <direct.h> |
23 |
+ |
|
24 |
+ |
#endif |
25 |
+ |
|
26 |
|
using namespace std; |
27 |
|
using namespace cgicc; |
28 |
|
|
30 |
|
{ |
31 |
|
private: |
32 |
|
Cgicc cgi; |
33 |
+ |
void update(CgiEnvironment& env, const string& agent); |
34 |
+ |
void display(CgiEnvironment& env); |
35 |
|
public: |
36 |
|
HostUpdate(); |
37 |
|
~HostUpdate(); |
38 |
|
}; |
39 |
|
|
40 |
< |
#endif // _HostUpdate_h_ |
40 |
> |
#endif // _HostUpdate_hpp_ |