summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-05-17 23:30:44 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-05-21 17:09:59 +0100
commit9a35d1fb4ac1c1e37d02bb3826c2c0bfd2a1554f (patch)
tree6fe175c9e225d025217c48e3926209ed14b14183 /src/core/loader/loader.h
parent8fc9c0312660aa8b74a1251f02dfedc84da5b96b (diff)
Loader: Add a GetFileType method to get the type of a loaded file
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r--src/core/loader/loader.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 4a4bd7c77..08bab84e5 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -132,6 +132,12 @@ public:
virtual ~AppLoader() { }
/**
+ * Returns the type of this file
+ * @return FileType corresponding to the loaded file
+ */
+ virtual FileType GetFileType() = 0;
+
+ /**
* Load the application
* @return ResultStatus result of function
*/