2015-03-28 00:51:54 +01:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Service {
|
2016-02-02 07:17:41 +01:00
|
|
|
|
|
|
|
class Interface;
|
|
|
|
|
2015-03-28 00:51:54 +01:00
|
|
|
namespace IR {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* IR::GetHandles service function
|
|
|
|
* Outputs:
|
|
|
|
* 1 : Result of function, 0 on success, otherwise error code
|
|
|
|
* 2 : Translate header, used by the ARM11-kernel
|
|
|
|
* 3 : Shared memory handle
|
|
|
|
* 4 : Event handle
|
|
|
|
*/
|
|
|
|
void GetHandles(Interface* self);
|
|
|
|
|
|
|
|
/// Initialize IR service
|
|
|
|
void Init();
|
|
|
|
|
|
|
|
/// Shutdown IR service
|
|
|
|
void Shutdown();
|
|
|
|
|
|
|
|
} // namespace IR
|
|
|
|
} // namespace Service
|