#include </home/clem/local/src/opie/library/power.h>
Collaboration diagram for PowerStatusManager:

Public Member Functions | |
| PowerStatusManager () | |
Static Public Member Functions | |
| static const PowerStatus & | readStatus () |
Protected Member Functions | |
| bool | getProcApmStatus (int &ac, int &bs, int &bf, int &pc, int &sec) |
| void | getStatus () |
Static Private Attributes | |
| static PowerStatus * | ps = 0 |
| static PowerStatusManager * | powerManager = 0 |
|
|
Definition at line 42 of file power.cpp. References f, haveProcApm, powerManager, ps, and TRUE. |
|
||||||||||||||||||||||||
|
Definition at line 64 of file power.cpp. References PowerStatus::ac, PowerStatus::Backup, PowerStatus::bs, PowerStatus::Charging, PowerStatus::Critical, f, PowerStatus::High, PowerStatus::Low, PowerStatus::NotPresent, PowerStatus::Offline, PowerStatus::Online, PowerStatus::percentRemain, ps, PowerStatus::secsRemain, u, and PowerStatus::VeryLow. Referenced by getStatus(). |
|
|
Definition at line 135 of file power.cpp. References FALSE, getProcApmStatus(), haveProcApm, PowerStatus::percentAccurate, PowerStatus::percentRemain, ps, PowerStatus::secsRemain, and TRUE. Referenced by readStatus(). |
|
|
Definition at line 53 of file power.cpp. References getStatus(), powerManager, and ps. Referenced by ServerApplication::apmTimeout(), RotateApplet::channelReceived(), LightSettings::LightSettings(), BrightnessApplet::readSystemBrightness(), LoginScreenSaver::save(), BatteryMeter::timerEvent(), and BrightnessApplet::writeSystemBrightness(). |
|
|
Definition at line 37 of file power.cpp. Referenced by PowerStatusManager(), and readStatus(). |
|
|
Definition at line 38 of file power.cpp. Referenced by getProcApmStatus(), getStatus(), PowerStatusManager(), and readStatus(). |
1.4.2