File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/odr/internal/abstract Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,10 @@ class Document {
4747 // / \return cursor to the root element of the document.
4848 [[nodiscard]] virtual ElementIdentifier root_element () const = 0;
4949
50+ // TODO element adapter per id
51+ // / \return the element adapter for this document.
5052 [[nodiscard]] virtual const ElementAdapter *element_adapter () const = 0;
53+ // TODO move other adapters here
5154};
5255
5356} // namespace odr::internal::abstract
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ class ElementAdapter {
6363 // TODO element_path_from_parent
6464 // TODO element_path_from_document
6565
66+ // TODO push to document
6667 [[nodiscard]] virtual const TextRootAdapter *
6768 text_root_adapter (ElementIdentifier element_id) const = 0 ;
6869 [[nodiscard]] virtual const SlideAdapter *
You can’t perform that action at this time.
0 commit comments