summaryrefslogtreecommitdiff
path: root/modules/gdnative/gd_native_library_editor.h
blob: a6c8f3179061e41da0e9b89c2b2a1c08f2aee3a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef GD_NATIVE_LIBRARY_EDITOR_H
#define GD_NATIVE_LIBRARY_EDITOR_H

#ifdef TOOLS_ENABLED
#include "editor/project_settings_editor.h"
#include "editor/editor_file_system.h"

class GDNativeLibraryEditor : public VBoxContainer
{
	Tree *libraries;

	bool updating;
	void _update_libraries();

	void _find_gdnative_singletons(EditorFileSystemDirectory *p_dir,const Set<String>& enabled_list);
	void _item_edited();
protected:

	void _notification(int p_what);
	static void _bind_methods();
public:
	GDNativeLibraryEditor();
};

#endif
#endif // GD_NATIVE_LIBRARY_EDITOR_H