X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3051a44a73502c2b03d1618d0a8e94274ee67e16..c29c95fe24973b94fd724db767193171ca7c513d:/interface/wx/power.h diff --git a/interface/wx/power.h b/interface/wx/power.h index 3d86e0488d..da34f5c416 100644 --- a/interface/wx/power.h +++ b/interface/wx/power.h @@ -3,9 +3,26 @@ // Purpose: interface of wxPowerEvent // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +enum wxPowerType +{ + wxPOWER_SOCKET, + wxPOWER_BATTERY, + wxPOWER_UNKNOWN +}; + +enum wxBatteryState +{ + wxBATTERY_NORMAL_STATE, // system is fully usable + wxBATTERY_LOW_STATE, // start to worry + wxBATTERY_CRITICAL_STATE, // save quickly + wxBATTERY_SHUTDOWN_STATE, // too late + wxBATTERY_UNKNOWN_STATE +}; + + /** @class wxPowerEvent