Are there C++ forward declarations for godot classes?
Background: when declaring, in a header file, a class member that is a pointer to a godot class, e.g. ::godot::Node * pointerToNode
, I need to either #include <godot_cpp/classes/node.hpp>
or add something like
namespace godot
{
class Node;
}
I prefer the latter, because the #include
slows down compilation. A godot header file with forward declarations for all godot classes would be nice.