diff options
Diffstat (limited to '')
-rw-r--r-- | c++-qt/src/float.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/c++-qt/src/float.h b/c++-qt/src/float.h deleted file mode 100644 index 6cc9950..0000000 --- a/c++-qt/src/float.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
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 | ||