summaryrefslogtreecommitdiff
path: root/hscript/network.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/network.hh')
-rw-r--r--hscript/network.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/hscript/network.hh b/hscript/network.hh
index 4c21155..68132c7 100644
--- a/hscript/network.hh
+++ b/hscript/network.hh
@@ -10,11 +10,20 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
+#ifndef __HSCRIPT_NETWORK_HH_
+#define __HSCRIPT_NETWORK_HH_
+
#include "key.hh"
namespace Horizon {
namespace Keys {
+class Network : public Key {
+public:
+ /*! Determine if networking is enabled. */
+ bool enabled();
+};
+
class NetAddress : public Key {
};
@@ -23,3 +32,5 @@ class NetSSID : public Key {
}
}
+
+#endif /* !__HSCRIPT_NETWORK_HH */