summaryrefslogtreecommitdiff
path: root/core/io/resource_saver.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/resource_saver.h')
-rw-r--r--core/io/resource_saver.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/io/resource_saver.h b/core/io/resource_saver.h
index 7bc96c1087..97500c46f4 100644
--- a/core/io/resource_saver.h
+++ b/core/io/resource_saver.h
@@ -42,7 +42,7 @@
class ResourceFormatSaver {
public:
-
+
virtual Error save(const String &p_path,const RES& p_resource,uint32_t p_flags=0)=0;
virtual bool recognize(const RES& p_resource) const=0;
virtual void get_recognized_extensions(const RES& p_resource,List<String> *p_extensions) const=0;
@@ -52,12 +52,12 @@ public:
typedef void (*ResourceSavedCallback)(const String& p_path);
-class ResourceSaver {
-
+class ResourceSaver {
+
enum {
MAX_SAVERS=64
};
-
+
static ResourceFormatSaver *saver[MAX_SAVERS];
static int saver_count;
static bool timestamp_on_save;
@@ -86,7 +86,7 @@ public:
static void set_save_callback(ResourceSavedCallback p_callback);
-
+
};