2014-04-09 01:15:46 +02:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 06:38:14 +01:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-04-09 01:15:46 +02:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
2013-09-27 04:01:09 +02:00
|
|
|
|
2015-05-04 05:16:25 +02:00
|
|
|
class EmuWindow;
|
2013-09-27 04:01:09 +02:00
|
|
|
|
|
|
|
namespace System {
|
|
|
|
|
2016-01-07 20:33:54 +01:00
|
|
|
enum class Result {
|
2016-09-18 02:38:01 +02:00
|
|
|
Success, ///< Everything is fine
|
|
|
|
Error, ///< Something went wrong (no module specified)
|
|
|
|
ErrorInitCore, ///< Something went wrong during core init
|
|
|
|
ErrorInitVideoCore, ///< Something went wrong during video core init
|
2016-01-07 20:33:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
Result Init(EmuWindow* emu_window);
|
2016-08-30 03:28:31 +02:00
|
|
|
bool IsPoweredOn();
|
2013-09-27 04:01:09 +02:00
|
|
|
void Shutdown();
|
2014-11-18 14:27:16 +01:00
|
|
|
}
|