diff options
Diffstat (limited to '')
| -rw-r--r-- | src/tafcomment.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/tafcomment.h b/src/tafcomment.h new file mode 100644 index 0000000..9f0534f --- /dev/null +++ b/src/tafcomment.h | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2007-2008 Xagasoft, All rights reserved. | ||
| 3 | * | ||
| 4 | * This file is part of the libbu++ library and is released under the | ||
| 5 | * terms of the license contained in the file LICENSE. | ||
| 6 | */ | ||
| 7 | |||
| 8 | #ifndef BU_TAF_COMMENT_H | ||
| 9 | #define BU_TAF_COMMENT_H | ||
| 10 | |||
| 11 | #include <stdint.h> | ||
| 12 | #include "bu/tafnode.h" | ||
| 13 | |||
| 14 | namespace Bu | ||
| 15 | { | ||
| 16 | /** | ||
| 17 | * | ||
| 18 | *@ingroup Taf | ||
| 19 | */ | ||
| 20 | class TafComment : public TafNode | ||
| 21 | { | ||
| 22 | public: | ||
| 23 | TafComment( const Bu::FString &sText, bool bEOL=false ); | ||
| 24 | virtual ~TafComment(); | ||
| 25 | |||
| 26 | const Bu::FString &getText() const; | ||
| 27 | bool isEOLStyle() const; | ||
| 28 | |||
| 29 | private: | ||
| 30 | Bu::FString sText; | ||
| 31 | bool bEOL; | ||
| 32 | }; | ||
| 33 | } | ||
| 34 | |||
| 35 | #endif | ||
