diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-11-28 14:01:56 -0500 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-12-03 17:21:25 -0500 |
commit | 5f0217592b9f27a32c236471c0a27e8ce345c926 (patch) | |
tree | 496180c2aab0b37cd15a1075ad0adfd8abb6eaf8 /src/core/loader/loader.h | |
parent | 51483d83bbe6a7d3a29a8bf129b2f4b9a04d229c (diff) |
loader: Add support for reading the name of game's developer
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r-- | src/core/loader/loader.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 7686634bf..c589b3bd1 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -12,6 +12,7 @@ #include <vector> #include "common/common_types.h" +#include "core/file_sys/control_metadata.h" #include "core/file_sys/vfs.h" namespace Kernel { @@ -243,6 +244,15 @@ public: return ResultStatus::ErrorNotImplemented; } + /** + * Get the developer of the application + * @param developer Reference to store the application developer into + * @return ResultStatus result of function + */ + virtual ResultStatus ReadDeveloper(std::string& developer) { + return ResultStatus::ErrorNotImplemented; + } + protected: FileSys::VirtualFile file; bool is_loaded = false; |