virtualx-engine/tools/editor/editor_asset_installer.h
Juan Linietsky 8b1dcbfe4d -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.
2016-03-12 10:46:38 -03:00

28 lines
630 B
C++

#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