summaryrefslogtreecommitdiff
path: root/include/dolphin/os/OSResetSW.h
blob: 5551f68c4207ee4e266239d7f5ef48da2f807d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _DOLPHIN_OSRESETSW
#define _DOLPHIN_OSRESETSW

#include <dolphin/os/OSContext.h>
#include <dolphin/types.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef void (*OSResetCallback)(void);

BOOL OSGetResetButtonState(void);

BOOL OSGetResetSwitchState(void);
OSResetCallback OSSetResetCallback(OSResetCallback callback);

#ifdef __cplusplus
}
#endif

#endif // _DOLPHIN_OSRESETSW