mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Added ede-bell-conf, a tool to configure system bell (that annoying beep thing)
Rest are changes so can nicely be compiled on freebsd Also, some changes are in coding style
This commit is contained in:
@ -151,7 +151,7 @@ void BatteryMonitor::update_status()
|
||||
#include <machine/apmioctl.h>
|
||||
|
||||
int first = 1;
|
||||
void battery_check(void)
|
||||
void BatteryMonitor::battery_check(void)
|
||||
{
|
||||
int fd;
|
||||
struct apmreq ar ;
|
||||
@ -213,7 +213,7 @@ void battery_check(void)
|
||||
#define APM_STAT_BATT_CHARGING 3
|
||||
|
||||
int first = 1;
|
||||
void battery_check(void)
|
||||
void BatteryMonitor::battery_check(void)
|
||||
{
|
||||
int fd, r;
|
||||
bool p;
|
||||
@ -284,7 +284,7 @@ void battery_check(void)
|
||||
#define _PATH_APM_NORMAL "/dev/apm"
|
||||
|
||||
int first = 1;
|
||||
void battery_check(void)
|
||||
void BatteryMonitor::battery_check(void)
|
||||
{
|
||||
int fd, r;
|
||||
bool p;
|
||||
|
Reference in New Issue
Block a user