Skip to content

Commit 374b8a0

Browse files
committed
more todos
1 parent 9c75924 commit 374b8a0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/odr/internal/abstract/document.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

src/odr/internal/abstract/document_element.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 *

0 commit comments

Comments
 (0)