Revision: | 12 |
Committed: | 2003-11-06T23:43:01-08:00 (21 years, 7 months ago) by Douglas Thrift |
File size: | 511 byte(s) |
Log Message: | The universe is going to hell! I'm in love! |
# | User | Rev | Content |
---|---|---|---|
1 | Douglas Thrift | 3 | // Host Update |
2 | // | ||
3 | // Douglas Thrift | ||
4 | // | ||
5 | // $Id$ | ||
6 | |||
7 | Douglas Thrift | 12 | #ifndef _HostUpdate_hpp_ |
8 | #define _HostUpdate_hpp_ | ||
9 | Douglas Thrift | 3 | |
10 | #include <iostream> | ||
11 | #include <cgicc/Cgicc.h> | ||
12 | |||
13 | Douglas Thrift | 12 | #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 | Douglas Thrift | 3 | using namespace std; |
27 | using namespace cgicc; | ||
28 | |||
29 | class HostUpdate | ||
30 | { | ||
31 | private: | ||
32 | Cgicc cgi; | ||
33 | Douglas Thrift | 12 | void update(CgiEnvironment& env, const string& agent); |
34 | void display(CgiEnvironment& env); | ||
35 | Douglas Thrift | 3 | public: |
36 | HostUpdate(); | ||
37 | ~HostUpdate(); | ||
38 | }; | ||
39 | |||
40 | Douglas Thrift | 12 | #endif // _HostUpdate_hpp_ |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id |