diff options
Diffstat (limited to 'src/gui_htmlattrtext.hh')
| -rw-r--r-- | src/gui_htmlattrtext.hh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gui_htmlattrtext.hh b/src/gui_htmlattrtext.hh new file mode 100644 index 0000000..91e1cc1 --- /dev/null +++ b/src/gui_htmlattrtext.hh @@ -0,0 +1,18 @@ +// -*- mode: c++; c-basic-offset: 2; -*- + +#ifndef GUI_HTMLATTRTEXT_HH +#define GUI_HTMLATTRTEXT_HH + +#include "gui_attrtext.hh" + +class HtmlAttributedText : public AttributedText { +public: + static HtmlAttributedText* create(); + + virtual std::string html() const = 0; + +protected: + HtmlAttributedText() {} +}; + +#endif // GUI_HTMLATTRTEXT_HH |
