From b96ee28acd80230ee56000fad2a3ca15e461d5e2 Mon Sep 17 00:00:00 2001 From: George Marques Date: Tue, 14 Nov 2017 20:02:31 -0200 Subject: Add a print handler for the editor output panel --- editor/editor_node.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editor/editor_node.h') diff --git a/editor/editor_node.h b/editor/editor_node.h index 81ff88622..54cb41483 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -30,6 +30,7 @@ #ifndef EDITOR_NODE_H #define EDITOR_NODE_H +#include "core/print_string.h" #include "editor/connections_dialog.h" #include "editor/create_dialog.h" #include "editor/editor_about.h" @@ -610,6 +611,9 @@ private: Vector > resource_conversion_plugins; + PrintHandlerList print_handler; + static void _print_handler(void *p_this, const String &p_string, bool p_error); + protected: void _notification(int p_what); static void _bind_methods(); -- cgit v1.2.3-70-g09d2