1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Add a print handler for the editor output panel

This commit is contained in:
George Marques
2017-11-14 20:02:31 -02:00
parent 1d12470a78
commit b96ee28acd
2 changed files with 14 additions and 0 deletions

View File

@@ -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();