1 |
// Iffy |
2 |
// |
3 |
// Douglas Thrift |
4 |
// |
5 |
// $Id$ |
6 |
|
7 |
#ifndef _Iffy_hpp_ |
8 |
#define _Iffy_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-ios/string.hpp> |
18 |
|
19 |
class Iffy |
20 |
{ |
21 |
private: |
22 |
void iffy(ios::Reader& in, ios::Writer& out); |
23 |
bool read(ios::Reader& in, ext::Buffer& segment, bool text); |
24 |
public: |
25 |
Iffy(const ext::String& in, const ext::String& out); |
26 |
static ext::String program; |
27 |
static bool debug; |
28 |
}; |
29 |
|
30 |
#endif // _Iffy_hpp_ |