/////////////////////////////////////////////////////////////////////////////
-// Name: palmos/utils.cpp
+// Name: src/palmos/utils.cpp
// Purpose: Various utilities
-// Author: William Osborne
-// Modified by:
+// Author: William Osborne - minimal working wxPalmOS port
+// Modified by: Wlodzimierz ABX Skiba - real functionality
// Created: 10/13/04
-// RCS-ID: $Id:
-// Copyright: (c) William Osborne
+// RCS-ID: $Id$
+// Copyright: (c) William Osborne, Wlodzimierz Skiba
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include <MemoryMgr.h>
#include <DLServer.h>
#include <SoundMgr.h>
+#include <SysUtils.h>
// ============================================================================
// implementation
return NULL;
}
-bool wxDirExists(const wxString& dir)
-{
- return false;
-}
-
-bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
+bool wxGetDiskSpace(const wxString& path, wxDiskspaceSize_t *pTotal, wxDiskspaceSize_t *pFree)
{
return false;
}
if(version)
{
wxString str = wxString::FromAscii(version);
+ MemPtrFree(version);
if(!str.empty())
{
strOS << _(" ") << str;
wxToolkitInfo& wxAppTraits::GetToolkitInfo()
{
static wxToolkitInfo info;
+ info.os = wxPALMOS;
info.name = _T("wxBase");
return info;
}