projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more woodoo in DoGetBestSize() to get rid of tree borders for default-sizes controls
[wxWidgets.git]
/
src
/
palmos
/
utils.cpp
diff --git
a/src/palmos/utils.cpp
b/src/palmos/utils.cpp
index 81988757cafbd73b2cd6bee5fa421d5af9df84f6..81db337f9b7e1b9500c6efb82e23d3c370523b76 100644
(file)
--- a/
src/palmos/utils.cpp
+++ b/
src/palmos/utils.cpp
@@
-29,16
+29,18
@@
#include "wx/app.h"
#include "wx/intl.h"
#include "wx/log.h"
#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"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#include "wx/dynload.h"
#include "wx/confbase.h"
-#include "wx/
tim
er.h"
+#include "wx/
pow
er.h"
#include <MemoryMgr.h>
#include <DLServer.h>
#include <SoundMgr.h>
#include <MemoryMgr.h>
#include <DLServer.h>
#include <SoundMgr.h>
+#include <SysUtils.h>
// ============================================================================
// implementation
// ============================================================================
// implementation
@@
-106,7
+108,7
@@
wxChar *wxGetUserHome(const wxString& WXUNUSED(user))
return NULL;
}
return NULL;
}
-bool wxGetDiskSpace(const wxString& path, wx
LongLong *pTotal, wxLongLong
*pFree)
+bool wxGetDiskSpace(const wxString& path, wx
DiskspaceSize_t *pTotal, wxDiskspaceSize_t
*pFree)
{
return false;
}
{
return false;
}
@@
-146,6
+148,10
@@
bool wxShutdown(wxShutdownFlags wFlags)
return false;
}
return false;
}
+// ----------------------------------------------------------------------------
+// power management
+// ----------------------------------------------------------------------------
+
wxPowerType wxGetPowerType()
{
return wxPOWER_BATTERY;
wxPowerType wxGetPowerType()
{
return wxPOWER_BATTERY;
@@
-191,6
+197,11
@@
void wxBell()
SndPlaySystemSound(sndWarning);
}
SndPlaySystemSound(sndWarning);
}
+bool wxIsPlatform64Bit()
+{
+ return false;
+}
+
wxString wxGetOsDescription()
{
wxString strOS = _T("PalmOS");
wxString wxGetOsDescription()
{
wxString strOS = _T("PalmOS");
@@
-209,11
+220,11
@@
wxString wxGetOsDescription()
return strOS;
}
return strOS;
}
-wx
ToolkitInfo& wxAppTraits::GetToolkitInfo(
)
+wx
OperatingSystemId wxGetOsVersion(int *verMaj, int *verMin
)
{
{
- static wxToolkitInfo info;
- info.name = _T("wxBase");
- return
info
;
+ // TODO
+
+ return
wxOS_UNKNOWN
;
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------
@@
-268,4
+279,3
@@
extern long wxCharsetToCodepage(const wxChar *name)
}
#endif // wxUSE_FONTMAP/!wxUSE_FONTMAP
}
#endif // wxUSE_FONTMAP/!wxUSE_FONTMAP
-