We changed enough of dhcpcd-qt in 2017 to warrant a copyright bump.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-ssidmenuwidget.h
index 833d9e071318f86f13061b65399ebe2529ea2741..caa2e443d5a042e1061cd600e503a078b662883a 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * dhcpcd-qt
- * Copyright 2014 Roy Marples <roy@marples.name>
+ * Copyright 2014-2017 Roy Marples <roy@marples.name>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -44,6 +44,8 @@ public:
        DHCPCD_WI_SCAN *getScan();
        void setScan(DHCPCD_WI_SCAN *scan);
        bool isAssociated();
+       bool isActive();
+       void setActive(bool active);
 
 signals:
        void triggered();
@@ -60,6 +62,7 @@ private:
        DhcpcdWi *wi;
        DHCPCD_WI_SCAN *scan;
        bool associated;
+       bool active;
 
        QLabel *selicon;
        QLabel *ssid;