2 * Copyright 2013-2014, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef MARKUP_TEXT_VIEW_H
6 #define MARKUP_TEXT_VIEW_H
9 #include "MarkupParser.h"
10 #include "TextDocumentView.h"
13 class MarkupTextView
: public TextDocumentView
{
15 MarkupTextView(const char* name
);
17 void SetText(const BString
& markupText
);
18 void SetText(const BString heading
,
19 const BString
& markupText
);
21 void SetDisabledText(const BString
& text
);
24 MarkupParser fMarkupParser
;
28 #endif // MARKUP_TEXT_VIEW_H