@ -27,6 +27,14 @@ public:
*/
static FileType IdentifyType(FileUtil::IOFile& file);
/**
* Returns the type of this file
* @return FileType corresponding to the loaded file
FileType GetFileType() override {
return IdentifyType(file);
}
* Load the bootable file
* @return ResultStatus result of function
@ -131,6 +131,12 @@ public:
AppLoader(FileUtil::IOFile&& file) : file(std::move(file)) { }
virtual ~AppLoader() { }
virtual FileType GetFileType() = 0;
* Load the application
@ -173,6 +173,14 @@ public: