add support for Ayatana indicator to Notification plugin
[claws.git] / src / plugins / litehtml_viewer / litehtml / el_before_after.h
blobeed5f3dad76f820cb419e29766744f4b05940c7c
1 #ifndef LH_EL_BEFORE_AFTER_H
2 #define LH_EL_BEFORE_AFTER_H
4 #include "html_tag.h"
6 namespace litehtml
8 class el_before_after_base : public html_tag
10 public:
11 el_before_after_base(const std::shared_ptr<document>& doc, bool before);
13 void add_style(const style& style) override;
14 private:
15 void add_text(const string& txt);
16 void add_function(const string& fnc, const string& params);
17 static string convert_escape(const char* txt);
20 class el_before : public el_before_after_base
22 public:
23 explicit el_before(const std::shared_ptr<document>& doc) : el_before_after_base(doc, true)
29 class el_after : public el_before_after_base
31 public:
32 explicit el_after(const std::shared_ptr<document>& doc) : el_before_after_base(doc, false)
39 #endif // LH_EL_BEFORE_AFTER_H