| 15 | } |
| 16 | |
| 17 | void ComponentModel::AttributeDataBinder::onDataChanged(const std::string& path, const std::string& newValue, bool appendMode) { |
| 18 | if (!_observer) { |
| 19 | return; |
| 20 | } |
| 21 | |
| 22 | _observer->onComponentAttributeDataChanged(_attributeName, appendMode); |
| 23 | } |
| 24 | |
| 25 | ComponentModel::ComponentModel(const std::string& id, const std::string& rawId, const std::string& component, ISurfaceContext* surfaceContext, IComponentChangedObserver* observer, ITemplateComponentGenerator* generator) : _id(id), _rawId(rawId), _component(component), _surfaceContext(surfaceContext), _observer(observer), _templateComponentGenerator(generator) { |
| 26 | } |
no test coverage detected