/**************************************************************************** ** Copyright (c) 2021, Fougue Ltd. ** All rights reserved. ** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt ****************************************************************************/ #pragma once #include "property.h" #include namespace Mayo { class DocumentTreeNode; class PropertyGroupSignals; class DocumentTreeNodePropertiesProvider { public: virtual ~DocumentTreeNodePropertiesProvider() = default; virtual bool supports(const DocumentTreeNode& treeNode) const = 0; virtual std::unique_ptr properties(const DocumentTreeNode& treeNode) const = 0; }; } // namespace Mayo