aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/src/null.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-09 17:20:11 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-09 17:20:11 +0000
commitd534a56d95bca7bdd812be024d9eacba4734e2b7 (patch)
treef9b98ee2b80e645a7b54e7934882be6c9f73c165 /c++-qt/src/null.h
parent61ccc86fdf06f12cb72a8b7e65286f812cf62154 (diff)
downloadlibgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.tar.gz
libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.tar.bz2
libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.tar.xz
libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.zip
Many changes: tabconv'd the C++ code, added a license, BSD, and docs.
Diffstat (limited to '')
-rw-r--r--c++-qt/src/null.h29
1 files changed, 18 insertions, 11 deletions
diff --git a/c++-qt/src/null.h b/c++-qt/src/null.h
index 354de12..f3ec45b 100644
--- a/c++-qt/src/null.h
+++ b/c++-qt/src/null.h
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libgats library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#ifndef GATS_NULL_H 8#ifndef GATS_NULL_H
2#define GATS_NULL_H 9#define GATS_NULL_H
3 10
@@ -7,20 +14,20 @@ class QIODevice;
7 14
8namespace Gats 15namespace Gats
9{ 16{
10 class Null : public Gats::Object 17 class Null : public Gats::Object
11 { 18 {
12 Q_OBJECT; 19 Q_OBJECT;
13 public: 20 public:
14 Null(); 21 Null();
15 virtual ~Null(); 22 virtual ~Null();
16 23
17 virtual Object *clone() const; 24 virtual Object *clone() const;
18 25
19 virtual Type getType() const { return typeNull; } 26 virtual Type getType() const { return typeNull; }
20 27
21 virtual void write( QIODevice &rOut ) const; 28 virtual void write( QIODevice &rOut ) const;
22 virtual void read( QIODevice &rIn, char cType ); 29 virtual void read( QIODevice &rIn, char cType );
23 }; 30 };
24}; 31};
25 32
26//Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b ); 33//Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b );