diff options
Diffstat (limited to '')
-rw-r--r-- | c++-qt/src/null.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/c++-qt/src/null.h b/c++-qt/src/null.h new file mode 100644 index 0000000..354de12 --- /dev/null +++ b/c++-qt/src/null.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef GATS_NULL_H | ||
2 | #define GATS_NULL_H | ||
3 | |||
4 | #include "gats-qt/object.h" | ||
5 | |||
6 | class QIODevice; | ||
7 | |||
8 | namespace Gats | ||
9 | { | ||
10 | class Null : public Gats::Object | ||
11 | { | ||
12 | Q_OBJECT; | ||
13 | public: | ||
14 | Null(); | ||
15 | virtual ~Null(); | ||
16 | |||
17 | virtual Object *clone() const; | ||
18 | |||
19 | virtual Type getType() const { return typeNull; } | ||
20 | |||
21 | virtual void write( QIODevice &rOut ) const; | ||
22 | virtual void read( QIODevice &rIn, char cType ); | ||
23 | }; | ||
24 | }; | ||
25 | |||
26 | //Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b ); | ||
27 | |||
28 | #endif | ||