summaryrefslogtreecommitdiff
path: root/platform/windows/export/export.h
blob: af1e2838df2bb927d3dbde5d6e59422554fdf201 (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
27
28
29
30
31
32
33
34
35
36
37
38
#include "tools/editor/editor_import_export.h"

class EditorExportPlatformWindows : public EditorExportPlatformPC {
	OBJ_TYPE( EditorExportPlatformWindows,EditorExportPlatformPC );
	
private:
	String icon_ico;
	String icon_png;
	bool icon16;
	bool icon32;
	bool icon48;
	bool icon64;
	bool icon128;
	bool icon256;
	String company_name;
	String file_description;
	String product_name;
	String legal_copyright;
	String version_text;
	int version_major;
	int version_minor;
	bool set_godot_version;
	void store_16(DVector<uint8_t>& vector, uint16_t value); ///< store 16 bits uint 
	void store_32(DVector<uint8_t>& vector, uint32_t value); ///< store 32 bits uint 
	
protected:
	bool _set(const StringName& p_name, const Variant& p_value);
	bool _get(const StringName& p_name,Variant &r_ret) const;
	void _get_property_list( List<PropertyInfo> *p_list) const;
	
public:
	static String (*_add_resrc_func)(const char*,int,int,String&,String&,String&,String&,String&,String&,DVector<uint8_t>&);
	Error export_project(const String& p_path, bool p_debug, bool p_dumb=false, bool p_remote_debug=false);
	EditorExportPlatformWindows();
};

void register_windows_exporter();