summaryrefslogtreecommitdiffstats
path: root/src/core/loader/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader/elf.h')
-rw-r--r--src/core/loader/elf.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/core/loader/elf.h b/src/core/loader/elf.h
new file mode 100644
index 000000000..d3cbf414d
--- /dev/null
+++ b/src/core/loader/elf.h
@@ -0,0 +1,32 @@
+// Copyright 2013 Dolphin Emulator Project / Citra Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "common/common_types.h"
+#include "core/loader/loader.h"
+
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Loader namespace
+
+namespace Loader {
+
+/// Loads an ELF/AXF file
+class AppLoader_ELF : public AppLoader {
+public:
+ AppLoader_ELF(const std::string& filename);
+ ~AppLoader_ELF();
+
+ /**
+ * Load the bootable file
+ * @return ResultStatus result of function
+ */
+ ResultStatus Load();
+
+private:
+ std::string filename;
+ bool is_loaded;
+};
+
+} // namespace Loader