summaryrefslogtreecommitdiffstats
path: root/core/resource.h
diff options
context:
space:
mode:
authorHubert Jarosz <marqin.pl@gmail.com>2016-03-09 00:00:52 +0100
committerHubert Jarosz <marqin.pl@gmail.com>2016-03-09 00:00:52 +0100
commit4a4f2479146aa33e235ed57cde311efda68d3c8f (patch)
treecf91f2869ff8f058c6682569fb31e22e5ee736ad /core/resource.h
parent1dad6eca812e5c2e313b54265114de8a1d73d999 (diff)
downloadredot-engine-4a4f2479146aa33e235ed57cde311efda68d3c8f.tar.gz
remove trailing whitespace
Diffstat (limited to 'core/resource.h')
-rw-r--r--core/resource.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/core/resource.h b/core/resource.h
index f0c86631cc..8bcdd6b4b7 100644
--- a/core/resource.h
+++ b/core/resource.h
@@ -87,7 +87,7 @@ public:
class Resource : public Reference {
-
+
OBJ_TYPE( Resource, Reference );
OBJ_CATEGORY("Resources");
RES_BASE_EXTENSION("res");
@@ -95,8 +95,8 @@ class Resource : public Reference {
Set<ObjectID> owners;
friend class ResBase;
-friend class ResourceCache;
-
+friend class ResourceCache;
+
String name;
String path_cache;
int subindex;
@@ -109,7 +109,7 @@ friend class ResourceCache;
#endif
protected:
-
+
void emit_changed();
void notify_change_to_owners();
@@ -120,7 +120,7 @@ protected:
void _set_path(const String& p_path);
void _take_over_path(const String& p_path);
public:
-
+
virtual bool can_reload_from_file();
virtual void reload_from_file();
@@ -151,7 +151,7 @@ public:
virtual RID get_rid() const; // some resources may offer conversion to RID
- Resource();
+ Resource();
~Resource();
};
@@ -160,11 +160,11 @@ public:
typedef Ref<Resource> RES;
class ResourceCache {
-friend class Resource;
- static HashMap<String,Resource*> resources;
+friend class Resource;
+ static HashMap<String,Resource*> resources;
friend void unregister_core_types();
static void clear();
-public:
+public:
static void reload_externals();
static bool has(const String& p_path);