1 |
Douglas Thrift |
275 |
// Iffy |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
|
|
// $Id$ |
6 |
|
|
|
7 |
|
|
#ifndef _Iffy_hpp_ |
8 |
|
|
#define _Iffy_hpp_ |
9 |
|
|
|
10 |
douglas |
309 |
#ifdef MENES_PRAGMA_ONCE |
11 |
|
|
#pragma once |
12 |
|
|
#endif |
13 |
|
|
|
14 |
|
|
#ifdef _WIN32 |
15 |
|
|
#pragma warning(disable:4267) |
16 |
|
|
#endif |
17 |
|
|
|
18 |
Douglas Thrift |
275 |
#include <menes/platform.hpp> |
19 |
|
|
#include <menes-api/console.hpp> |
20 |
Douglas Thrift |
276 |
#include <menes-ios/string.hpp> |
21 |
Douglas Thrift |
275 |
|
22 |
|
|
class Iffy |
23 |
|
|
{ |
24 |
|
|
private: |
25 |
Douglas Thrift |
276 |
void iffy(ios::Reader& in, ios::Writer& out); |
26 |
douglas |
294 |
bool read(ios::Reader& in, ext::Buffer& segment, bool text); |
27 |
Douglas Thrift |
275 |
public: |
28 |
Douglas Thrift |
276 |
Iffy(const ext::String& in, const ext::String& out); |
29 |
|
|
static ext::String program; |
30 |
|
|
static bool debug; |
31 |
Douglas Thrift |
275 |
}; |
32 |
|
|
|
33 |
|
|
#endif // _Iffy_hpp_ |