mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 01:05:46 +00:00
Loader: Add a GetFileType method to get the type of a loaded file
This commit is contained in:
parent
b0095b9584
commit
85a4eea460
4 changed files with 30 additions and 0 deletions
|
@ -131,6 +131,12 @@ public:
|
|||
AppLoader(FileUtil::IOFile&& file) : file(std::move(file)) { }
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue