repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / haikudepot / ui_generic / MarkupTextView.h
blobed3d8d6ac13353fa1a1e47ae8355cb15f8df6d89
1 /*
2 * Copyright 2013-2014, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
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 {
14 public:
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);
23 private:
24 MarkupParser fMarkupParser;
28 #endif // MARKUP_TEXT_VIEW_H