psl1ght
A free SDK for Sony's PS3 console
disc.h
1 #ifndef __LV2_SYSUTIL_DISC_H__
2 #define __LV2_SYSUTIL_DISC_H__
3 
4 #include <ppu-types.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 typedef enum
11 {
12  SYS_DISCTYPE_OTHER = 0,
13  SYS_DISCTYPE_PS3,
14  SYS_DISCTYPE_PS2
15 } sysDiscType;
16 
17 typedef void (*sysDiscEjectCallback)(void);
18 typedef void (*sysDiscInsertCallback)(u32 discType,char *title);
19 
20 s32 sysDiscRegisterDiscChangeCallback(sysDiscEjectCallback cbEject,sysDiscInsertCallback cbInsert);
21 s32 sysDiscUnregisterDiscChangeCallback();
22 
23 #ifdef __cplusplus
24  }
25 #endif
26 
27 #endif