X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20bfc1c29fbaa99564e5e7150270965190a701f2..68f2155bb74506ee9c26afbc762543133e0ad1a9:/src/palmos/utils.cpp?ds=sidebyside diff --git a/src/palmos/utils.cpp b/src/palmos/utils.cpp index 845aae1033..788f6e6b50 100644 --- a/src/palmos/utils.cpp +++ b/src/palmos/utils.cpp @@ -29,12 +29,13 @@ #include "wx/app.h" #include "wx/intl.h" #include "wx/log.h" + #include "wx/timer.h" #endif //WX_PRECOMP #include "wx/apptrait.h" #include "wx/dynload.h" #include "wx/confbase.h" -#include "wx/timer.h" +#include "wx/power.h" #include #include @@ -107,7 +108,7 @@ wxChar *wxGetUserHome(const wxString& WXUNUSED(user)) return NULL; } -bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree) +bool wxGetDiskSpace(const wxString& path, wxDiskspaceSize_t *pTotal, wxDiskspaceSize_t *pFree) { return false; } @@ -147,6 +148,10 @@ bool wxShutdown(wxShutdownFlags wFlags) return false; } +// ---------------------------------------------------------------------------- +// power management +// ---------------------------------------------------------------------------- + wxPowerType wxGetPowerType() { return wxPOWER_BATTERY; @@ -270,4 +275,3 @@ extern long wxCharsetToCodepage(const wxChar *name) } #endif // wxUSE_FONTMAP/!wxUSE_FONTMAP -