Remove all trailing spaces
No real changes, just clean up sources by removing trailing spaces from all the non-generated files. This should hopefully avoid future commits mixing significant changes with insignificant whitespace ones.
This commit is contained in:
@@ -24,12 +24,12 @@ enum wxOperatingSystemId
|
||||
|
||||
wxOS_MAC_OS = 1 << 0, //!< Apple Mac OS 8/9/X with Mac paths
|
||||
wxOS_MAC_OSX_DARWIN = 1 << 1, //!< Apple OS X with Unix paths
|
||||
|
||||
|
||||
//! A combination of all @c wxOS_MAC_* values previously listed.
|
||||
wxOS_MAC = wxOS_MAC_OS|wxOS_MAC_OSX_DARWIN,
|
||||
|
||||
wxOS_WINDOWS_NT = 1 << 3, //!< Windows NT family (XP/Vista/7/8/10)
|
||||
|
||||
|
||||
//! Any Windows system, currently can be only wxOS_WINDOWS_NT.
|
||||
wxOS_WINDOWS = wxOS_WINDOWS_NT,
|
||||
|
||||
@@ -40,7 +40,7 @@ enum wxOperatingSystemId
|
||||
wxOS_UNIX_SOLARIS = 1 << 10, //!< SunOS
|
||||
wxOS_UNIX_AIX = 1 << 11, //!< AIX
|
||||
wxOS_UNIX_HPUX = 1 << 12, //!< HP/UX
|
||||
|
||||
|
||||
//! A combination of all @c wxOS_UNIX_* values previously listed.
|
||||
wxOS_UNIX = wxOS_UNIX_LINUX |
|
||||
wxOS_UNIX_FREEBSD |
|
||||
@@ -104,9 +104,9 @@ enum wxEndianness
|
||||
};
|
||||
|
||||
/**
|
||||
A structure containing information about a Linux distribution as returned
|
||||
A structure containing information about a Linux distribution as returned
|
||||
by the @c lsb_release utility.
|
||||
|
||||
|
||||
See wxGetLinuxDistributionInfo() or wxPlatformInfo::GetLinuxDistributionInfo()
|
||||
for more info.
|
||||
*/
|
||||
@@ -116,7 +116,7 @@ struct wxLinuxDistributionInfo
|
||||
wxString Release; //!< The version of the distribution; e.g. "9.04"
|
||||
wxString CodeName; //!< The code name of the distribution; e.g. "jaunty"
|
||||
wxString Description; //!< The description of the distribution; e.g. "Ubuntu 9.04"
|
||||
|
||||
|
||||
bool operator==(const wxLinuxDistributionInfo& ldi) const;
|
||||
bool operator!=(const wxLinuxDistributionInfo& ldi) const;
|
||||
};
|
||||
@@ -125,16 +125,16 @@ struct wxLinuxDistributionInfo
|
||||
/**
|
||||
@class wxPlatformInfo
|
||||
|
||||
This class holds information about the operating system, the toolkit and the
|
||||
This class holds information about the operating system, the toolkit and the
|
||||
basic architecture of the machine where the application is currently running.
|
||||
|
||||
|
||||
This class does not only have @e getters for the information above, it also has
|
||||
@e setters. This allows you to e.g. save the current platform information in a
|
||||
@e setters. This allows you to e.g. save the current platform information in a
|
||||
data file (maybe in string form) so that when you later load it, you can easily
|
||||
retrieve (see the static getters for string->enum conversion functions) and store
|
||||
inside a wxPlatformInfo instance (using its setters) the signature of the system
|
||||
inside a wxPlatformInfo instance (using its setters) the signature of the system
|
||||
which generated it.
|
||||
|
||||
|
||||
In general however you only need to use the static Get() function and then
|
||||
access the various information for the current platform:
|
||||
@code
|
||||
@@ -148,7 +148,7 @@ struct wxLinuxDistributionInfo
|
||||
@see ::wxGetOsVersion(), wxIsPlatformLittleEndian(), wxIsPlatform64Bit(),
|
||||
wxAppTraits, @ref group_funcmacro_networkuseros
|
||||
*/
|
||||
class wxPlatformInfo
|
||||
class wxPlatformInfo
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -211,16 +211,16 @@ public:
|
||||
Equality operator. Tests all class' internal variables.
|
||||
*/
|
||||
bool operator==(const wxPlatformInfo& t) const;
|
||||
|
||||
|
||||
/**
|
||||
Returns the global wxPlatformInfo object, initialized with the values
|
||||
for the currently running platform.
|
||||
*/
|
||||
static const wxPlatformInfo& Get();
|
||||
|
||||
|
||||
/**
|
||||
@name Static enum getters
|
||||
|
||||
|
||||
These getters allow for easy string-to-enumeration-value conversion.
|
||||
*/
|
||||
//@{
|
||||
@@ -251,13 +251,13 @@ public:
|
||||
("wxGTK", "wxMSW", etc) nor any of the short wxWidgets name ports ("gtk", "msw", etc).
|
||||
*/
|
||||
static wxPortId GetPortId(const wxString& portname);
|
||||
|
||||
|
||||
//@}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@name Static string-form getters
|
||||
|
||||
|
||||
These getters allow for easy enumeration-value-to-string conversion.
|
||||
*/
|
||||
//@{
|
||||
@@ -271,7 +271,7 @@ public:
|
||||
Returns name for the given wxEndianness enumeration value.
|
||||
*/
|
||||
static wxString GetEndiannessName(wxEndianness end);
|
||||
|
||||
|
||||
/**
|
||||
Returns the operating system family name for the given wxOperatingSystemId
|
||||
enumeration value: @c Unix for @c wxOS_UNIX, @c OSX for @c wxOS_MAC_OS,
|
||||
@@ -308,14 +308,14 @@ public:
|
||||
|
||||
/**
|
||||
Returns the operating system directory.
|
||||
|
||||
|
||||
See wxGetOSDirectory() for more info.
|
||||
*/
|
||||
static wxString GetOperatingSystemDirectory();
|
||||
|
||||
//@}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@name Getters
|
||||
*/
|
||||
@@ -359,14 +359,14 @@ public:
|
||||
|
||||
/**
|
||||
Returns the operating system ID of this wxPlatformInfo instance.
|
||||
|
||||
|
||||
See wxGetOsVersion() for more info.
|
||||
*/
|
||||
wxOperatingSystemId GetOperatingSystemId() const;
|
||||
|
||||
|
||||
/**
|
||||
Returns the description of the operating system of this wxPlatformInfo instance.
|
||||
|
||||
|
||||
See wxGetOsDescription() for more info.
|
||||
*/
|
||||
wxString GetOperatingSystemDescription() const;
|
||||
@@ -375,17 +375,17 @@ public:
|
||||
Returns the wxWidgets port ID associated with this wxPlatformInfo instance.
|
||||
*/
|
||||
wxPortId GetPortId() const;
|
||||
|
||||
|
||||
/**
|
||||
Returns the Linux distribution info associated with this wxPlatformInfo instance.
|
||||
|
||||
|
||||
See wxGetLinuxDistributionInfo() for more info.
|
||||
*/
|
||||
wxLinuxDistributionInfo GetLinuxDistributionInfo() const;
|
||||
|
||||
|
||||
/**
|
||||
Returns the desktop environment associated with this wxPlatformInfo instance.
|
||||
|
||||
|
||||
See wxAppTraits::GetDesktopEnvironment() for more info.
|
||||
*/
|
||||
wxString GetDesktopEnvironment() const;
|
||||
@@ -454,7 +454,7 @@ public:
|
||||
wxPlatformInfo instance.
|
||||
*/
|
||||
wxString GetOperatingSystemFamilyName() const;
|
||||
|
||||
|
||||
/**
|
||||
Returns the operating system name of the OS associated with this wxPlatformInfo
|
||||
instance.
|
||||
@@ -472,16 +472,16 @@ public:
|
||||
wxPlatformInfo instance.
|
||||
*/
|
||||
wxString GetPortIdShortName() const;
|
||||
|
||||
//@}
|
||||
|
||||
|
||||
|
||||
//@}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@name Setters
|
||||
*/
|
||||
//@{
|
||||
|
||||
|
||||
/**
|
||||
Sets the architecture enum value associated with this wxPlatformInfo instance.
|
||||
*/
|
||||
@@ -517,17 +517,17 @@ public:
|
||||
Sets the operating system description associated with this wxPlatformInfo instance.
|
||||
*/
|
||||
void SetOperatingSystemDescription(const wxString& desc);
|
||||
|
||||
|
||||
/**
|
||||
Sets the desktop environment associated with this wxPlatformInfo instance.
|
||||
*/
|
||||
void SetDesktopEnvironment(const wxString& de);
|
||||
|
||||
|
||||
/**
|
||||
Sets the linux distribution info associated with this wxPlatformInfo instance.
|
||||
*/
|
||||
void SetLinuxDistributionInfo(const wxLinuxDistributionInfo& di);
|
||||
|
||||
|
||||
//@}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user