From 29e854354982dcdd8f548ca10b2f2f6b889b280c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 9 Nov 2012 17:22:33 +0000 Subject: The attempt to use symlinks in place of the header files was silly. --- c++-qt/gats-qt/float.h | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) mode change 120000 => 100644 c++-qt/gats-qt/float.h (limited to 'c++-qt/gats-qt/float.h') diff --git a/c++-qt/gats-qt/float.h b/c++-qt/gats-qt/float.h deleted file mode 120000 index 6d057eb..0000000 --- a/c++-qt/gats-qt/float.h +++ /dev/null @@ -1 +0,0 @@ -../src/float.h \ No newline at end of file diff --git a/c++-qt/gats-qt/float.h b/c++-qt/gats-qt/float.h new file mode 100644 index 0000000..6cc9950 --- /dev/null +++ b/c++-qt/gats-qt/float.h @@ -0,0 +1,39 @@ +/* + * 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. + */ + +#ifndef GATS_FLOAT_H +#define GATS_FLOAT_H + +#include "gats-qt/object.h" + +namespace Gats +{ + class Float : public Gats::Object + { + Q_OBJECT; + public: + Float(); + Float( double f ); + virtual ~Float(); + + virtual Object *clone() const; + + virtual Type getType() const { return typeFloat; } + double getValue() const { return fVal; } + + virtual void write( QIODevice &rOut ) const; + virtual void read( QIODevice &rIn, char cType ); + + private: + double fVal; + mutable QByteArray sWriteCache; + }; +} + +//Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Float &flt ); + +#endif -- cgit v1.2.3