/* SPDX-FileCopyrightText: 2023 Blender Foundation
 *
 * SPDX-License-Identifier: GPL-2.0-or-later */

/** \file
 * \ingroup spoutliner
 */

#pragma once

#include "tree_element_id.hh"

struct MetaBall;

namespace blender::ed::outliner {

class TreeElementIDMetaBall final : public TreeElementID {
  MetaBall &metaball_;

 public:
  TreeElementIDMetaBall(TreeElement &legacy_te, MetaBall &metaball);

  void expand(SpaceOutliner &) const override;

 private:
  void expand_materials(SpaceOutliner &) const;
};

}  // namespace blender::ed::outliner
