Blender V5.3
tree_element_linked_object.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "DNA_outliner_types.h"
12
13#include "tree_element.hh"
14
15namespace blender::ed::outliner {
16
18
19 public:
21
22 TreeElementLinkedObject(TreeElement &legacy_te, ID &id);
23
26 static ID *owner_id(ID &id)
27 {
28 return &id;
29 }
30
31 std::optional<BIFIconID> get_icon() const override
32 {
33 return ICON_OBJECT_DATA;
34 }
35};
36
37} // namespace blender::ed::outliner
#define final(a, b, c)
Definition BLI_hash_c.hh:21
std::optional< BIFIconID > get_icon() const override