summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/interfaces.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/interfaces.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/interfaces.h b/noncore/settings/networksettings/interfaces.h
index 2cc9689..8b4788c 100644
--- a/noncore/settings/networksettings/interfaces.h
+++ b/noncore/settings/networksettings/interfaces.h
@@ -20,13 +20,14 @@
20 * See the interfaces man page for the syntax rules. 20 * See the interfaces man page for the syntax rules.
21 */ 21 */
22class Interfaces { 22class Interfaces {
23 23
24public: 24public:
25 Interfaces(QString useInterfacesFile = "/etc/network/interfaces"); 25 Interfaces(QString useInterfacesFile = "/etc/network/interfaces");
26 26 QStringList getInterfaceList();
27
27 bool isAuto(QString interface); 28 bool isAuto(QString interface);
28 bool setAuto(QString interface, bool setAuto); 29 bool setAuto(QString interface, bool setAuto);
29 30
30 bool removeInterface(); 31 bool removeInterface();
31 bool addInterface(QString interface, QString family, QString method); 32 bool addInterface(QString interface, QString family, QString method);
32 bool setInterface(QString interface); 33 bool setInterface(QString interface);