ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Spectre2/Spectre2.hpp
Revision: 409
Committed: 2004-12-31T01:13:08-08:00 (20 years, 5 months ago) by douglas
File size: 666 byte(s)
Log Message:
I guess that's not really necessary.

File Contents

# Content
1 // Spectre 2
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #ifndef _Spectre2_hpp_
8 #define _Spectre2_hpp_
9
10 #include <menes/platform.hpp>
11
12 #ifdef MENES_PRAGMA_ONCE
13 #pragma once
14 #endif
15
16 #include <menes-api/console.hpp>
17 #include <menes-api/files.hpp>
18 #include <menes-ext/string.hpp>
19
20 typedef api::Posix::FileStream<api::Posix::HandleWriter, O_WRONLY | O_CREAT | O_TRUNC, 0600> SecretFileWriter;
21
22 #include <unistd.h>
23
24 class Daemon;
25
26 class Spectre2
27 {
28 private:
29 const ext::String& pid;
30 public:
31 Spectre2(const ext::String& config, const ext::String& pid);
32 ~Spectre2();
33 static ext::String program;
34 static bool debug;
35 static ext::Vector<Daemon*> daemons;
36 };
37
38 #endif // _Spectre2_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id