X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25a9f2912d37473bdddfd8bc07618c8530440363..84c3e788d6200d68384852e4c4785c09922ec499:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index 40305e4044..c9ee2b6182 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -412,26 +412,6 @@ enum wxShutdownFlags // Shutdown or reboot the PC WXDLLIMPEXP_BASE bool wxShutdown(wxShutdownFlags wFlags); -enum wxPowerType -{ - wxPOWER_SOCKET, - wxPOWER_BATTERY, - wxPOWER_UNKNOWN -}; - -WXDLLIMPEXP_BASE wxPowerType wxGetPowerType(); - -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 -}; - -WXDLLIMPEXP_BASE wxBatteryState wxGetBatteryState(); - // send the given signal to the process (only NONE and KILL are supported under // Windows, all others mean TERM), return 0 if ok and -1 on error //