diff options
Diffstat (limited to 'src/tafcomment.cpp')
-rw-r--r-- | src/tafcomment.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/tafcomment.cpp b/src/tafcomment.cpp new file mode 100644 index 0000000..03f382a --- /dev/null +++ b/src/tafcomment.cpp | |||
@@ -0,0 +1,30 @@ | |||
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 | #include "bu/tafcomment.h" | ||
9 | |||
10 | Bu::TafComment::TafComment( const Bu::FString &sText, bool bEOL ) : | ||
11 | TafNode( typeComment ), | ||
12 | sText( sText ), | ||
13 | bEOL( bEOL ) | ||
14 | { | ||
15 | } | ||
16 | |||
17 | Bu::TafComment::~TafComment() | ||
18 | { | ||
19 | } | ||
20 | |||
21 | const Bu::FString &Bu::TafComment::getText() const | ||
22 | { | ||
23 | return sText; | ||
24 | } | ||
25 | |||
26 | bool Bu::TafComment::isEOLStyle() const | ||
27 | { | ||
28 | return bEOL; | ||
29 | } | ||
30 | |||