blob: d38e187b933a5be62e076f5e80c23a787789f5c5 (
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/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
|