summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nim/nim.h
blob: dbf605e5a6e59c853f8ef92fc94ac82344a74ea0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2015 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

namespace Service {

class Interface;

namespace NIM {

/**
 * NIM::CheckForSysUpdateEvent service function
 *  Inputs:
 *      1 : None
 *  Outputs:
 *      1 : Result of function, 0 on success, otherwise error code
 *      2 : Copy handle descriptor
 *      3 : System Update event handle
 */
void CheckForSysUpdateEvent(Service::Interface* self);

/**
 * NIM::CheckSysUpdateAvailable service function
 *  Inputs:
 *      1 : None
 *  Outputs:
 *      1 : Result of function, 0 on success, otherwise error code
 *      2 : flag, 0 = no system update available, 1 = system update available.
 */
void CheckSysUpdateAvailable(Service::Interface* self);

/// Initialize NIM service(s)
void Init();

/// Shutdown NIM service(s)
void Shutdown();

} // namespace NIM
} // namespace Service