Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".

This commit is contained in:
bunnei 2014-07-04 13:25:30 -04:00
parent 2d734bb6c5
commit 1099d83455
3 changed files with 13 additions and 13 deletions

View file

@ -148,48 +148,48 @@ namespace Loader {
class AppLoader_NCCH final : public AppLoader {
public:
AppLoader_NCCH(const std::string& filename);
~AppLoader_NCCH();
~AppLoader_NCCH() override;
/**
* Load the application
* @return ResultStatus result of function
*/
ResultStatus Load();
ResultStatus Load() override;
/**
* Get the code (typically .code section) of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
ResultStatus ReadCode(std::vector<u8>& buffer) const;
ResultStatus ReadCode(std::vector<u8>& buffer) const override;
/**
* Get the icon (typically icon section) of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
ResultStatus ReadIcon(std::vector<u8>& buffer) const;
ResultStatus ReadIcon(std::vector<u8>& buffer) const override;
/**
* Get the banner (typically banner section) of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
ResultStatus ReadBanner(std::vector<u8>& buffer) const;
ResultStatus ReadBanner(std::vector<u8>& buffer) const override;
/**
* Get the logo (typically logo section) of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
ResultStatus ReadLogo(std::vector<u8>& buffer) const;
ResultStatus ReadLogo(std::vector<u8>& buffer) const override;
/**
* Get the RomFS of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
ResultStatus ReadRomFS(std::vector<u8>& buffer) const;
ResultStatus ReadRomFS(std::vector<u8>& buffer) const override;
private: