refactor(network): better events handler

This commit is contained in:
Alex
2019-05-26 22:36:26 +02:00
parent 070619fa34
commit ecec02c8be
2 changed files with 43 additions and 34 deletions

View File

@ -41,6 +41,7 @@ class Network : public ALabel {
bool checkInterface(struct ifinfomsg* rtif, std::string name);
int getPreferredIface(int skip_idx = -1) const;
auto getInfo() -> void;
void checkNewInterface(struct ifinfomsg* rtif);
const std::string getNetworkState() const;
void clearIface();
bool wildcardMatch(const std::string& pattern, const std::string& text) const;