aboutsummaryrefslogtreecommitdiff
path: root/src/ui/mapper/style/NoConditionMapper.cpp
blob: 397162f10c170e9396421f4462a0716f934eb699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "cru/ui/mapper/style/NoConditionMapper.h"
#include "cru/common/ClonablePtr.h"
#include "cru/xml/XmlNode.h"

namespace cru::ui::mapper::style {
bool NoConditionMapper::XmlElementIsOfThisType(xml::XmlElementNode* node) {
  return node->GetTag().CaseInsensitiveEqual(u"NoCondition");
}

ClonablePtr<ui::style::NoCondition> NoConditionMapper::DoMapFromXml(
    xml::XmlElementNode* node) {
  return ui::style::NoCondition::Create();
}
}  // namespace cru::ui::mapper::style