summaryrefslogtreecommitdiff
path: root/noncore/net/networksetup/interfaces.h
Unidiff
Diffstat (limited to 'noncore/net/networksetup/interfaces.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/interfaces.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/networksetup/interfaces.h b/noncore/net/networksetup/interfaces.h
index e617c17..7cf04f0 100644
--- a/noncore/net/networksetup/interfaces.h
+++ b/noncore/net/networksetup/interfaces.h
@@ -21,24 +21,25 @@
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 QStringList getInterfaceList(); 26 QStringList getInterfaceList();
27 27
28 bool isAuto(QString interface); 28 bool isAuto(QString interface);
29 bool setAuto(QString interface, bool setAuto); 29 bool setAuto(QString interface, bool setAuto);
30 30
31 bool removeInterface(); 31 bool removeInterface();
32 bool addInterface(QString interface, QString family, QString method); 32 bool addInterface(QString interface, QString family, QString method);
33 bool copyInterface(QString oldInterface, QString newInterface);
33 bool setInterface(QString interface); 34 bool setInterface(QString interface);
34 bool isInterfaceSet(); 35 bool isInterfaceSet();
35 QString getInterfaceName(bool &error); 36 QString getInterfaceName(bool &error);
36 bool setInterfaceName(QString newName); 37 bool setInterfaceName(QString newName);
37 QString getInterfaceFamily(bool &error); 38 QString getInterfaceFamily(bool &error);
38 bool setInterfaceFamily(QString newName); 39 bool setInterfaceFamily(QString newName);
39 QString getInterfaceMethod(bool &error); 40 QString getInterfaceMethod(bool &error);
40 bool setInterfaceMethod(QString newName); 41 bool setInterfaceMethod(QString newName);
41 QString getInterfaceOption(QString option, bool &error); 42 QString getInterfaceOption(QString option, bool &error);
42 bool setInterfaceOption(QString option, QString value); 43 bool setInterfaceOption(QString option, QString value);
43 bool removeAllInterfaceOptions(); 44 bool removeAllInterfaceOptions();
44 45