path: root/rbutil/rbutilqt/base/systeminfo.h
diff options
Diffstat (limited to 'rbutil/rbutilqt/base/systeminfo.h')
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.h b/rbutil/rbutilqt/base/systeminfo.h
index 12b9eb4bfb..9bcfe6d253 100644
--- a/rbutil/rbutilqt/base/systeminfo.h
+++ b/rbutil/rbutilqt/base/systeminfo.h
@@ -90,8 +90,9 @@ class SystemInfo : public QObject
//! return a list of all platforms (rbutil internal names)
static QStringList platforms(enum PlatformType type = PlatformAll,
QString variant="");
- //! returns a map of all languages
- static QMap<QString, QStringList> languages(void);
+ //! returns a map of all languages.
+ //! Maps <language code> to (<language name>, <display name>)
+ static QMap<QString, QStringList> languages(bool namesOnly = false);
//! returns a map of usb-ids and their targets
static QMap<int, QStringList> usbIdMap(enum MapType type);
//! get a value from system settings