summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-11-17 16:05:44 -0300
committerGitHub <noreply@github.com>2017-11-17 16:05:44 -0300
commitebbe2bd57235fcbd2edb82c05bb9d7d768b3e7ca (patch)
tree8525dd572373c91efe33568f3c1a8663c0ed8d1a /editor/editor_node.h
parent0968c8d2f65f7ac6e0d6b3718ee1028b229b3353 (diff)
parentb96ee28acd80230ee56000fad2a3ca15e461d5e2 (diff)
Merge pull request #12930 from vnen/gdscrit-output-print
Make tool scripts print on the editor Output panel
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index 81ff886228..54cb414835 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<Ref<EditorResourceConversionPlugin> > 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();