diff options
Diffstat (limited to 'dev/LibSCI')
| -rw-r--r-- | dev/LibSCI/SCI.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/dev/LibSCI/SCI.h b/dev/LibSCI/SCI.h index 7f7321d2..69945d20 100644 --- a/dev/LibSCI/SCI.h +++ b/dev/LibSCI/SCI.h @@ -244,13 +244,18 @@ IMPORT_C VoidPtr EvtDispatchEvent(_Input const Char* event_name, _Input VoidPtr // Power API.
// ------------------------------------------------------------------------------------------ //
-IMPORT_C Void PwrShutdownMachine(const Char* _Input msg, _Input SInt32 code);
-
-IMPORT_C Void PwrRebootMachine(const Char* _Input msg, _Input SInt32 code);
-
-IMPORT_C Void PwrSleepMachine(const Char* _Input msg, _Input SInt32 code);
-
-IMPORT_C SInt32 PwrGetCode(_Output SInt32& code);
+enum
+{
+ kPowerCodeShutdown,
+ kPowerCodeReboot,
+ kPowerCodeSleep,
+ kPowerCodeWake,
+ kPowerCodeCount,
+};
+
+IMPORT_C SInt32 PwrReadCode(_Output SInt32& code);
+
+IMPORT_C SInt32 PwrSendCode(_Output SInt32& code);
// ------------------------------------------------------------------------------------------ //
// CD-ROM API.
|
