aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/src-cpp/framework-OSInterface.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-01-12 08:20:09 -0800
committerKen Moore <ken@ixsystems.com>2018-01-12 08:20:09 -0800
commit9083f9a57b4414e0ad6f22127b156bc8581ef45c (patch)
tree5faacc4a2505ccdad776cd6c55f446a6d18d7fca /src-qt5/src-cpp/framework-OSInterface.h
parentFix up the saving of the current window positions in the backend objects. (diff)
downloadlumina-9083f9a57b4414e0ad6f22127b156bc8581ef45c.tar.gz
lumina-9083f9a57b4414e0ad6f22127b156bc8581ef45c.tar.bz2
lumina-9083f9a57b4414e0ad6f22127b156bc8581ef45c.zip
Add an additional OS-specific network device type parser.
Diffstat (limited to 'src-qt5/src-cpp/framework-OSInterface.h')
-rw-r--r--src-qt5/src-cpp/framework-OSInterface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/src-cpp/framework-OSInterface.h b/src-qt5/src-cpp/framework-OSInterface.h
index a173ad5a..f367039e 100644
--- a/src-qt5/src-cpp/framework-OSInterface.h
+++ b/src-qt5/src-cpp/framework-OSInterface.h
@@ -76,11 +76,12 @@ public:
// = Network Information =
Q_INVOKABLE bool networkAvailable();
Q_INVOKABLE QString networkType(); //"wifi", "wired", "cell", "cell-2G", "cell-3G", "cell-4G"
+ Q_INVOKABLE QString networkTypeFromDeviceName(QString name); //wifi, wired, cell, cell-2G, cell-3G, cell-4G
Q_INVOKABLE float networkStrength(); //percentage. ("wired" type should always be 100%)
Q_INVOKABLE QString networkHostname();
Q_INVOKABLE QHostAddress networkAddress();
// = Network Modification =
-
+
// = Media Shortcuts =
Q_INVOKABLE QStringList mediaDirectories(); //directory where XDG shortcuts are placed for interacting with media (local/remote)
Q_INVOKABLE QStringList mediaShortcuts(); //List of currently-available XDG shortcut file paths
bgstack15