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

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