X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/787de19a134a346130706556c964db5ee34f5a1d..b0edecea489b62db69eb74ca8f7623132cceab54:/interface/wx/utils.h diff --git a/interface/wx/utils.h b/interface/wx/utils.h index d8a7bdd01c..08b6a55037 100644 --- a/interface/wx/utils.h +++ b/interface/wx/utils.h @@ -684,6 +684,23 @@ bool wxIsPlatform64Bit(); */ bool wxIsPlatformLittleEndian(); +/** + Returns a structure containing informations about the currently running + Linux distribution. + + This function uses the @c lsb_release utility which is part of the + Linux Standard Base Core specification + (see http://refspecs.linux-foundation.org/lsb.shtml) since the very first LSB + release 1.0 (released in 2001). + The @c lsb_release utility is very common on modern Linux distributions but in + case it's not available, then this function will return a ::wxLinuxDistributionInfo + structure containing empty strings. + + This function is Linux-specific and is only available when the @c __LINUX__ + symbol is defined. +*/ +wxLinuxDistributionInfo wxGetLinuxDistributionInfo(); + //@}