X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b568d04ffa191f9e3b643ca33526094eca0ba304..5692876f3b45c8f141ea961f0a206b0c2248bc6d:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index 73b50a162b..7893bd1700 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -76,8 +76,12 @@ WXDLLEXPORT bool StringMatch(wxChar *one, wxChar *two, bool subString = TRUE, bo // Sound the bell WXDLLEXPORT void wxBell(); +// Get OS description as a user-readable string +WXDLLEXPORT wxString wxGetOsDescription(); + // Get OS version -WXDLLEXPORT int wxGetOsVersion(int *majorVsn= (int *) NULL,int *minorVsn= (int *) NULL) ; +WXDLLEXPORT int wxGetOsVersion(int *majorVsn = (int *) NULL, + int *minorVsn = (int *) NULL); // Return a string with the current date/time WXDLLEXPORT wxString wxNow(); @@ -208,6 +212,7 @@ WXDLLEXPORT bool wxGetUserName(wxChar *buf, int maxSize); WXDLLEXPORT wxString wxGetUserName(); // Get current Home dir and copy to dest (returns pstr->c_str()) +WXDLLEXPORT wxString wxGetHomeDir(); WXDLLEXPORT const wxChar* wxGetHomeDir(wxString *pstr); // Get the user's home dir (caller must copy --- volatile) @@ -298,7 +303,7 @@ public: // Format a message on the standard error (UNIX) or the debugging // stream (Windows) -WXDLLEXPORT void wxDebugMsg(const wxChar *fmt ...) ; +WXDLLEXPORT void wxDebugMsg(const wxChar *fmt ...); // Non-fatal error (continues) WXDLLEXPORT_DATA(extern const wxChar*) wxInternalErrorStr;