summaryrefslogtreecommitdiff
path: root/src/net/tuschhcm/routercontrol/ui/UserInterface.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tuschhcm/routercontrol/ui/UserInterface.java')
-rw-r--r--src/net/tuschhcm/routercontrol/ui/UserInterface.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/net/tuschhcm/routercontrol/ui/UserInterface.java b/src/net/tuschhcm/routercontrol/ui/UserInterface.java
index 7a441c5..33b62b2 100644
--- a/src/net/tuschhcm/routercontrol/ui/UserInterface.java
+++ b/src/net/tuschhcm/routercontrol/ui/UserInterface.java
@@ -26,7 +26,19 @@ public interface UserInterface {
/**
* Handle toggling the control lock
*/
- public void setControlsLockAction(final Action action);
+ public void setToggleControlLockAction(final Action action);
+
+ /**
+ * Get the status of the control lock.
+ * @return true if the lock is enabled.
+ */
+ public boolean getControlLockStatus();
+
+ /**
+ * Set the control lock status on the UI.
+ * @param enabled true to set the controls lock.
+ */
+ public void setControlLockStatus(boolean enabled);
/**
* Start the user interface.