diff options
| author | 2016-05-17 23:30:44 +0100 | |
|---|---|---|
| committer | 2016-05-21 17:09:59 +0100 | |
| commit | 9a35d1fb4ac1c1e37d02bb3826c2c0bfd2a1554f (patch) | |
| tree | 6fe175c9e225d025217c48e3926209ed14b14183 /src/core/loader/loader.h | |
| parent | Loader, Frontends: Refactor loader creation and game loading (diff) | |
| download | yuzu-9a35d1fb4ac1c1e37d02bb3826c2c0bfd2a1554f.tar.gz yuzu-9a35d1fb4ac1c1e37d02bb3826c2c0bfd2a1554f.tar.xz yuzu-9a35d1fb4ac1c1e37d02bb3826c2c0bfd2a1554f.zip | |
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.h | 6 |
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: | |||
| 132 | virtual ~AppLoader() { } | 132 | virtual ~AppLoader() { } |
| 133 | 133 | ||
| 134 | /** | 134 | /** |
| 135 | * Returns the type of this file | ||
| 136 | * @return FileType corresponding to the loaded file | ||
| 137 | */ | ||
| 138 | virtual FileType GetFileType() = 0; | ||
| 139 | |||
| 140 | /** | ||
| 135 | * Load the application | 141 | * Load the application |
| 136 | * @return ResultStatus result of function | 142 | * @return ResultStatus result of function |
| 137 | */ | 143 | */ |