From d534a56d95bca7bdd812be024d9eacba4734e2b7 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 9 Nov 2012 17:20:11 +0000 Subject: Many changes: tabconv'd the C++ code, added a license, BSD, and docs. --- c++-qt/src/null.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'c++-qt/src/null.cpp') diff --git a/c++-qt/src/null.cpp b/c++-qt/src/null.cpp index f259887..8d46250 100644 --- a/c++-qt/src/null.cpp +++ b/c++-qt/src/null.cpp @@ -1,3 +1,10 @@ +/* + * Copyright (C) 2007-2012 Xagasoft, All rights reserved. + * + * This file is part of the libgats library and is released under the + * terms of the license contained in the file LICENSE. + */ + #include "gats-qt/null.h" #include @@ -12,12 +19,12 @@ Gats::Null::~Null() Gats::Object *Gats::Null::clone() const { - return new Gats::Null(); + return new Gats::Null(); } void Gats::Null::write( QIODevice &rOut ) const { - rOut.write("n", 1 ); + rOut.write("n", 1 ); } void Gats::Null::read( QIODevice &rIn, char cType ) @@ -26,6 +33,6 @@ void Gats::Null::read( QIODevice &rIn, char cType ) /* Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b ) { - return f << "(bool) " << b.getValue(); + return f << "(bool) " << b.getValue(); } */ -- cgit v1.2.3