/* * Copyright (c) 2019-2020, Sergey Bugaev * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include class ManualNode { public: virtual ~ManualNode() = default; virtual NonnullOwnPtrVector& children() const = 0; virtual ManualNode const* parent() const = 0; virtual String name() const = 0; virtual bool is_page() const { return false; } virtual bool is_open() const { return false; } };