X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..5b88a837ba75928cd3835a6b97ae2bf5ad983a6e:/interface/wx/platinfo.h diff --git a/interface/wx/platinfo.h b/interface/wx/platinfo.h index 71439b625d..06eff6cb08 100644 --- a/interface/wx/platinfo.h +++ b/interface/wx/platinfo.h @@ -110,14 +110,13 @@ enum wxEndianness /** @class wxPlatformInfo - @wxheader{platinfo.h} This class holds informations about the operating system and the toolkit that the application is running under and some basic architecture info of the machine where it's running. @library{wxbase} - @category{misc} + @category{cfg} @see ::wxGetOsVersion(), wxIsPlatformLittleEndian(), wxIsPlatform64Bit(), wxAppTraits @@ -170,7 +169,7 @@ public: Returns the global wxPlatformInfo object, initialized with the values for the currently running platform. */ - static const wxPlatformInfo Get(); + static const wxPlatformInfo& Get(); /** Converts the given string to a wxArchitecture enum value or to @@ -182,7 +181,7 @@ public: /** Returns the name for the given wxArchitecture enumeration value. */ - static wxString GetArchName(wxArchitecture arch) const; + static wxString GetArchName(wxArchitecture arch); /** Returns the name for the architecture of this wxPlatformInfo instance. @@ -199,7 +198,7 @@ public: @c wxENDIAN_INVALID if the given string is not a valid endianness string (i.e. does not contain nor little nor big strings). */ - static wxEndianness GetEndianness(const wxString& end) const; + static wxEndianness GetEndianness(const wxString& end); /** Returns the endianness ID of this wxPlatformInfo instance. @@ -209,7 +208,7 @@ public: /** Returns name for the given wxEndianness enumeration value. */ - static wxString GetEndiannessName(wxEndianness end) const; + static wxString GetEndiannessName(wxEndianness end); /** Returns the name for the endianness of this wxPlatformInfo instance. @@ -237,7 +236,7 @@ public: enumeration value: @c Unix for @c wxOS_UNIX, @c Macintosh for @c wxOS_MAC, @c Windows for @c wxOS_WINDOWS, @c DOS for @c wxOS_DOS, @c OS/2 for @c wxOS_OS2. */ - static wxString GetOperatingSystemFamilyName(wxOperatingSystemId os) const; + static wxString GetOperatingSystemFamilyName(wxOperatingSystemId os); /** Returns the operating system family name of the OS associated with this @@ -249,7 +248,7 @@ public: Converts the given string to a wxOperatingSystemId enum value or to @c wxOS_UNKNOWN if the given string is not a valid operating system name. */ - static wxOperatingSystemId GetOperatingSystemId(const wxString& name) const; + static wxOperatingSystemId GetOperatingSystemId(const wxString& name); /** Returns the operating system ID of this wxPlatformInfo instance. @@ -262,7 +261,7 @@ public: This can be a long name (e.g. Microsoft Windows NT); use GetOperatingSystemFamilyName() to retrieve a short, generic name. */ - static wxString GetOperatingSystemIdName(wxOperatingSystemId os) const; + static wxString GetOperatingSystemIdName(wxOperatingSystemId os); /** Returns the operating system name of the OS associated with this wxPlatformInfo @@ -276,7 +275,7 @@ public: if the given string does not match any of the wxWidgets canonical name ports ("wxGTK", "wxMSW", etc) nor any of the short wxWidgets name ports ("gtk", "msw", etc). */ - static wxPortId GetPortId(const wxString& portname) const; + static wxPortId GetPortId(const wxString& portname); /** Returns the wxWidgets port ID associated with this wxPlatformInfo instance. @@ -290,7 +289,7 @@ public: The returned string always starts with the "wx" prefix and is a mixed-case string. */ - static wxString GetPortIdName(wxPortId port, bool usingUniversal) const; + static wxString GetPortIdName(wxPortId port, bool usingUniversal); /** Returns the name of the wxWidgets port ID associated with this wxPlatformInfo @@ -306,7 +305,7 @@ public: The returned string does not start with the "wx" prefix and is always lower case. */ static wxString GetPortIdShortName(wxPortId port, - bool usingUniversal) const; + bool usingUniversal); /** Returns the short name of the wxWidgets port ID associated with this