2014-04-08 16:15:46 -07:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-16 21:38:14 -08:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-04-08 16:15:46 -07:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
2013-09-26 19:01:09 -07:00
|
|
|
|
2015-05-03 20:16:25 -07:00
|
|
|
class EmuWindow;
|
2013-09-26 19:01:09 -07:00
|
|
|
|
|
|
|
namespace System {
|
|
|
|
|
2016-01-07 11:33:54 -08:00
|
|
|
enum class Result {
|
2016-09-17 17:38:01 -07: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 11:33:54 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
Result Init(EmuWindow* emu_window);
|
2016-08-29 18:28:31 -07:00
|
|
|
bool IsPoweredOn();
|
2013-09-26 19:01:09 -07:00
|
|
|
void Shutdown();
|
2014-11-18 05:27:16 -08:00
|
|
|
}
|