Simple wxBatteryPower API for the support in wxWinCE, wxPalmOS and any other mobile device with wxWidgets. Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -190,6 +190,18 @@ bool wxShutdown(wxShutdownFlags wFlags)
|
||||
return false;
|
||||
}
|
||||
|
||||
wxPowerType wxGetPowerType()
|
||||
{
|
||||
// TODO
|
||||
return wxPOWER_UNKNOWN;
|
||||
}
|
||||
|
||||
wxBatteryState wxGetBatteryState()
|
||||
{
|
||||
// TODO
|
||||
return wxBATTERY_UNKNOWN_STATE;
|
||||
}
|
||||
|
||||
// Get free memory in bytes, or -1 if cannot determine amount (e.g. on UNIX)
|
||||
wxMemorySize wxGetFreeMemory()
|
||||
{
|
||||
|
Reference in New Issue
Block a user