summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-08-01 19:51:44 -0400
committerbunnei <bunneidev@gmail.com>2017-08-03 20:10:37 -0400
commitf5cf9960d9eb5ff5afb39c0356f42035e2dd1ccf (patch)
tree851abceebb8196b95583a3bde4d2e97818b96f66 /src/core/loader/loader.h
parent035716d57bfc2142779e421ee242efc0d51059f6 (diff)
loader: Expose program title.
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r--src/core/loader/loader.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 48bbf687d..e731888a2 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -166,6 +166,15 @@ public:
return ResultStatus::ErrorNotImplemented;
}
+ /**
+ * Get the title of the application
+ * @param title Reference to store the application title into
+ * @return ResultStatus result of function
+ */
+ virtual ResultStatus ReadTitle(std::string& title) {
+ return ResultStatus::ErrorNotImplemented;
+ }
+
protected:
FileUtil::IOFile file;
bool is_loaded = false;