Removed import/export system, will start new one from scratch.
This commit is contained in:
@ -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<Source> sources;
|
||||
String editor;
|
||||
|
||||
Map<String,Variant> 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<String> *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<ResourceImportMetadata> import_metadata;
|
||||
uint64_t last_modified_time;
|
||||
#endif
|
||||
|
||||
@ -147,10 +105,6 @@ public:
|
||||
Ref<Resource> duplicate(bool p_subresources=false);
|
||||
Ref<Resource> duplicate_for_local_scene(Node *p_scene,Map<Ref<Resource>,Ref<Resource> >& remap_cache);
|
||||
|
||||
|
||||
void set_import_metadata(const Ref<ResourceImportMetadata>& p_metadata);
|
||||
Ref<ResourceImportMetadata> get_import_metadata() const;
|
||||
|
||||
void set_local_to_scene(bool p_enable);
|
||||
bool is_local_to_scene() const;
|
||||
virtual void setup_local_to_scene();
|
||||
|
||||
Reference in New Issue
Block a user