diff options
| author | Juan Linietsky | 2016-09-14 19:37:37 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-09-14 19:37:37 -0300 |
| commit | a75f5f039e31e20d985937f63cb2c8b90734160c (patch) | |
| tree | 36e61238562eb37cf62f7a1960d32dd1b414c31b /tools/editor/editor_node.h | |
| parent | a4156f1f0a69bcf4d7c1f43550a39a76cc389e0a (diff) | |
| download | godot-a75f5f039e31e20d985937f63cb2c8b90734160c.tar.gz godot-a75f5f039e31e20d985937f63cb2c8b90734160c.tar.zst godot-a75f5f039e31e20d985937f63cb2c8b90734160c.zip | |
Added API version and hashing to ObjectTypeDB
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/editor_node.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h index 96242a144..24ba1cd83 100644 --- a/tools/editor/editor_node.h +++ b/tools/editor/editor_node.h @@ -95,6 +95,7 @@ typedef void (*EditorNodeInitCallback)(); typedef void (*EditorPluginInitializeCallback)(); +typedef void (*EditorBuildCallback)(); class EditorPluginList; @@ -580,13 +581,17 @@ private: void _toggle_distraction_free_mode(); enum { - MAX_INIT_CALLBACKS=128 + MAX_INIT_CALLBACKS=128, + MAX_BUILD_CALLBACKS=128 }; static int plugin_init_callback_count; static EditorPluginInitializeCallback plugin_init_callbacks[MAX_INIT_CALLBACKS]; + + static int build_callback_count; + static EditorBuildCallback build_callbacks[MAX_BUILD_CALLBACKS]; protected: void _notification(int p_what); static void _bind_methods(); @@ -754,6 +759,7 @@ public: void get_singleton(const char* arg1, bool arg2); static void add_init_callback(EditorNodeInitCallback p_callback) { _init_callbacks.push_back(p_callback); } + static void add_build_callback(EditorBuildCallback p_callback); |
