properly structure rfkill util

This commit is contained in:
Marc
2020-01-21 17:48:45 +01:00
parent 626af1ddc1
commit f0dbd8b78d
5 changed files with 57 additions and 102 deletions

View File

@ -9,7 +9,6 @@
#include <netlink/genl/genl.h>
#include <netlink/netlink.h>
#include <sys/epoll.h>
#include <linux/rfkill.h>
#include "ALabel.hpp"
#include "util/sleeper_thread.hpp"
@ -46,7 +45,6 @@ class Network : public ALabel {
const std::string getNetworkState() const;
void clearIface();
bool wildcardMatch(const std::string& pattern, const std::string& text) const;
bool isDisabled(enum rfkill_type rfkill_type) const;
int ifid_;
sa_family_t family_;