diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2012-11-09 17:22:33 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-09 17:22:33 +0000 |
| commit | 29e854354982dcdd8f548ca10b2f2f6b889b280c (patch) | |
| tree | c973a1ec59e625dc9d1627abad3ac30cae6814fd /c++-qt/gats-qt/float.h | |
| parent | d534a56d95bca7bdd812be024d9eacba4734e2b7 (diff) | |
| download | libgats-29e854354982dcdd8f548ca10b2f2f6b889b280c.tar.gz libgats-29e854354982dcdd8f548ca10b2f2f6b889b280c.tar.bz2 libgats-29e854354982dcdd8f548ca10b2f2f6b889b280c.tar.xz libgats-29e854354982dcdd8f548ca10b2f2f6b889b280c.zip | |
The attempt to use symlinks in place of the header files was silly.
Diffstat (limited to '')
| -rw-r--r--[l---------] | c++-qt/gats-qt/float.h | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/c++-qt/gats-qt/float.h b/c++-qt/gats-qt/float.h index 6d057eb..6cc9950 120000..100644 --- a/c++-qt/gats-qt/float.h +++ b/c++-qt/gats-qt/float.h | |||
| @@ -1 +1,39 @@ | |||
| 1 | ../src/float.h \ No newline at end of file | 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 | |||
| 8 | #ifndef GATS_FLOAT_H | ||
| 9 | #define GATS_FLOAT_H | ||
| 10 | |||
| 11 | #include "gats-qt/object.h" | ||
| 12 | |||
| 13 | namespace Gats | ||
| 14 | { | ||
| 15 | class Float : public Gats::Object | ||
| 16 | { | ||
| 17 | Q_OBJECT; | ||
| 18 | public: | ||
| 19 | Float(); | ||
| 20 | Float( double f ); | ||
| 21 | virtual ~Float(); | ||
| 22 | |||
| 23 | virtual Object *clone() const; | ||
| 24 | |||
| 25 | virtual Type getType() const { return typeFloat; } | ||
| 26 | double getValue() const { return fVal; } | ||
| 27 | |||
| 28 | virtual void write( QIODevice &rOut ) const; | ||
| 29 | virtual void read( QIODevice &rIn, char cType ); | ||
| 30 | |||
| 31 | private: | ||
| 32 | double fVal; | ||
| 33 | mutable QByteArray sWriteCache; | ||
| 34 | }; | ||
| 35 | } | ||
| 36 | |||
| 37 | //Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Float &flt ); | ||
| 38 | |||
| 39 | #endif | ||
