ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostUpdate/HostUpdate.hpp
(Generate patch)

Comparing HostUpdate/HostUpdate.hpp (file contents):
Revision 3 by Douglas Thrift, 2003-11-05T18:37:16-08:00 vs.
Revision 12 by Douglas Thrift, 2003-11-06T23:43:01-08:00

# Line 4 | Line 4
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  
# Line 17 | Line 30 | class HostUpdate
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_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines