ceaa15b6a7
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31488 a95241bf-73f2-0310-859d-f6bbb57e9c96
24 lines
454 B
C
24 lines
454 B
C
/*
|
|
* Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef SYSTEM_ARCH_X86_APM_DEFS_H
|
|
#define SYSTEM_ARCH_X86_APM_DEFS_H
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
// temporary generic syscall interface
|
|
#define APM_SYSCALLS "apm"
|
|
#define APM_GET_BATTERY_INFO 1
|
|
|
|
struct apm_battery_info {
|
|
bool online;
|
|
int32 percent;
|
|
time_t time_left;
|
|
};
|
|
|
|
|
|
#endif /* SYSTEM_ARCH_X86_APM_DEFS_H */
|