blob: 6b848458425d8faac5630327b296e0eafdc73e58 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 | #pragma once
#include <memory>
#include "../../style/StyleRuleSet.h"
#include "../Mapper.h"
namespace cru::ui::mapper::style {
class CRU_UI_API StyleRuleSetMapper
    : public BasicSharedPtrMapper<ui::style::StyleRuleSet> {
 public:
  CRU_DEFAULT_CONSTRUCTOR_DESTRUCTOR(StyleRuleSetMapper)
 public:
  bool SupportMapFromXml() override { return true; }
  bool XmlElementIsOfThisType(xml::XmlElementNode* node) override;
 protected:
  std::shared_ptr<ui::style::StyleRuleSet> DoMapFromXml(
      xml::XmlElementNode* node) override;
};
;
}  // namespace cru::ui::mapper::style
 |