From 96de0141ccef3bb035574010816dafdbfc17eb63 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 25 Jan 2017 21:55:59 -0300 Subject: Removed import/export system, will start new one from scratch. --- core/resource.h | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) (limited to 'core/resource.h') diff --git a/core/resource.h b/core/resource.h index 2b071c8e1c..b2873e4866 100644 --- a/core/resource.h +++ b/core/resource.h @@ -46,47 +46,6 @@ virtual String get_base_extension() const { return m_ext; }\ private: -class ResourceImportMetadata : public Reference { - - GDCLASS( ResourceImportMetadata, Reference ); - - struct Source { - String path; - String md5; - }; - - Vector sources; - String editor; - - Map options; - - PoolStringArray _get_options() const; - -protected: - - static void _bind_methods(); -public: - - void set_editor(const String& p_editor); - String get_editor() const; - - void add_source(const String& p_path,const String& p_md5=""); - String get_source_path(int p_idx) const; - String get_source_md5(int p_idx) const; - void set_source_md5(int p_idx,const String& p_md5); - void remove_source(int p_idx); - int get_source_count() const; - - void set_option(const String& p_key, const Variant& p_value); - Variant get_option(const String& p_key) const; - bool has_option(const String& p_key) const; - - void get_options(List *r_options) const; - - - ResourceImportMetadata(); -}; - class Resource : public Reference { @@ -106,7 +65,6 @@ friend class ResourceCache; virtual bool _use_builtin_script() const { return true; } #ifdef TOOLS_ENABLED - Ref import_metadata; uint64_t last_modified_time; #endif @@ -147,10 +105,6 @@ public: Ref duplicate(bool p_subresources=false); Ref duplicate_for_local_scene(Node *p_scene,Map,Ref >& remap_cache); - - void set_import_metadata(const Ref& p_metadata); - Ref get_import_metadata() const; - void set_local_to_scene(bool p_enable); bool is_local_to_scene() const; virtual void setup_local_to_scene(); -- cgit v1.2.3