summaryrefslogtreecommitdiff
path: root/tools/editor/editor_asset_installer.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-03-12 10:44:12 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-03-12 10:46:38 -0300
commit8b1dcbfe4d92f9d7273bbd2f1eb805e5c508961a (patch)
tree77bd972e494e7deeef49bfa271c94d03ef2af749 /tools/editor/editor_asset_installer.h
parentd85f06c42d54971af5da826581c75d1ed001475e (diff)
-Made editor support SSL certs by default (embedded them)
-Made asset sharing support https -Many fixes to HTTPRequest -Added an asset installer dialog -Visual cleanups to asset sharing tab -Fixed some issues in ScrollContainer, hope it does not break things -Asset sharing tab is not visible (hidden on purpose) for now.
Diffstat (limited to 'tools/editor/editor_asset_installer.h')
-rw-r--r--tools/editor/editor_asset_installer.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/editor/editor_asset_installer.h b/tools/editor/editor_asset_installer.h
new file mode 100644
index 0000000000..713c5f14f1
--- /dev/null
+++ b/tools/editor/editor_asset_installer.h
@@ -0,0 +1,28 @@
+#ifndef EDITORASSETINSTALLER_H
+#define EDITORASSETINSTALLER_H
+
+
+#include "scene/gui/dialogs.h"
+#include "scene/gui/tree.h"
+class EditorAssetInstaller : public ConfirmationDialog {
+
+ OBJ_TYPE( EditorAssetInstaller, ConfirmationDialog );
+
+ Tree *tree;
+ String package_path;
+ AcceptDialog *error;
+ Map<String,TreeItem*> status_map;
+ bool updating;
+ void _update_subitems(TreeItem* p_item,bool p_check,bool p_first=false);
+ void _item_edited();
+ virtual void ok_pressed();
+protected:
+
+ static void _bind_methods();
+public:
+
+ void open(const String& p_path,int p_depth=0);
+ EditorAssetInstaller();
+};
+
+#endif // EDITORASSETINSTALLER_H