#include "wx/apptrait.h"
#include "wx/dynload.h"
#include "wx/confbase.h"
+#include "wx/power.h"
#include <MemoryMgr.h>
#include <DLServer.h>
return false;
}
- wxStrncpy (buf, wxConvertMB2WX(id), maxSize - 1);
+ wxStrncpy (buf, wxSafeConvertMB2WX(id), maxSize - 1);
// free the buffer
MemPtrUnlock(id);
return NULL;
}
-wxChar *wxGetUserHome(const wxString& WXUNUSED(user))
+wxString wxGetUserHome(const wxString& WXUNUSED(user))
{
- return NULL;
+ return wxString();
}
bool wxGetDiskSpace(const wxString& path, wxDiskspaceSize_t *pTotal, wxDiskspaceSize_t *pFree)
return false;
}
+bool wxUnsetEnv(const wxString& var)
+{
+ return false;
+}
+
// ----------------------------------------------------------------------------
// process management
// ----------------------------------------------------------------------------
return false;
}
+// ----------------------------------------------------------------------------
+// power management
+// ----------------------------------------------------------------------------
+
wxPowerType wxGetPowerType()
{
return wxPOWER_BATTERY;
SndPlaySystemSound(sndWarning);
}
+bool wxIsPlatform64Bit()
+{
+ return false;
+}
+
wxString wxGetOsDescription()
{
wxString strOS = _T("PalmOS");
return strOS;
}
-wxToolkitInfo& wxAppTraits::GetToolkitInfo()
+wxOperatingSystemId wxGetOsVersion(int *verMaj, int *verMin)
{
- static wxToolkitInfo info;
- info.os = wxPALMOS;
- info.name = _T("wxBase");
- return info;
+ // TODO
+
+ return wxOS_UNKNOWN;
}
// ----------------------------------------------------------------------------