blob: 84cbf598d0fba5a6295d7d47d1210584192d48e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "cru/ui/mapper/style/NoConditionMapper.h"
#include "cru/base/ClonablePtr.h"
#include "cru/base/xml/XmlNode.h"
namespace cru::ui::mapper::style {
bool NoConditionMapper::XmlElementIsOfThisType(xml::XmlElementNode* node) {
return cru::string::CaseInsensitiveCompare(node->GetTag(), "NoCondition") == 0;
}
ClonablePtr<ui::style::NoCondition> NoConditionMapper::DoMapFromXml(
xml::XmlElementNode* node) {
return ui::style::NoCondition::Create();
}
} // namespace cru::ui::mapper::style
|