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 |
+ |
extern "C" |
23 |
+ |
{ |
24 |
+ |
#include <unistd.h> |
25 |
+ |
} |
26 |
+ |
|
27 |
+ |
class Daemon; |
28 |
+ |
|
29 |
|
class Spectre2 |
30 |
|
{ |
31 |
|
private: |
35 |
|
~Spectre2(); |
36 |
|
static ext::String program; |
37 |
|
static bool debug; |
38 |
+ |
static ext::Vector<Daemon*> daemons; |
39 |
|
}; |
40 |
|
|
41 |
|
#endif // _Spectre2_hpp_ |