X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/interface/wx/power.h diff --git a/interface/wx/power.h b/interface/wx/power.h index fd488ed12e..da34f5c416 100644 --- a/interface/wx/power.h +++ b/interface/wx/power.h @@ -6,6 +6,23 @@ // 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