blob: 66b95f4a71f322d760dbe49724ac42eab5eef0c5 (
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.hpp"
#include "../Mapper.hpp"
namespace cru::ui::mapper::style {
class CRU_UI_API StyleRuleSetMapper
: public BasicRefMapper<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
|