/* * Copyright (c) 2022, kleines Filmröllchen * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Manual { // A non-toplevel (i.e. not numbered) manual section. class SubsectionNode : public SectionNode { public: SubsectionNode(NonnullRefPtr parent, StringView name); virtual ~SubsectionNode() = default; virtual Node const* parent() const override; virtual ErrorOr path() const override; virtual ErrorOr name() const override; virtual PageNode const* document() const override; protected: NonnullRefPtr m_parent; }; }