summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/python/eduvpn_common/state.py26
1 files changed, 11 insertions, 15 deletions
diff --git a/wrappers/python/eduvpn_common/state.py b/wrappers/python/eduvpn_common/state.py
index bb6642b..6f2ba72 100644
--- a/wrappers/python/eduvpn_common/state.py
+++ b/wrappers/python/eduvpn_common/state.py
@@ -14,19 +14,15 @@ StateEnum = IntEnum
class State(StateEnum):
- # Go states
- INITIAL = 0
+ DEREGISTERED = 0
MAIN = 1
- ASK_LOCATION = 2
- CHOSEN_LOCATION = 3
- LOADING_SERVER = 4
- CHOSEN_SERVER = 5
- OAUTH_STARTED = 6
- AUTHORIZED = 7
- REQUEST_CONFIG = 8
- ASK_PROFILE = 9
- CHOSEN_PROFILE = 10
- GOT_CONFIG = 11
- CONNECTING = 12
- DISCONNECTING = 13
- CONNECTED = 14
+ ADDING_SERVER = 2
+ OAUTH_STARTED = 3
+ GETTING_CONFIG = 4
+ ASK_LOCATION = 5
+ ASK_PROFILE = 6
+ GOT_CONFIG = 7
+ CONNECTING = 8
+ CONNECTED = 9
+ DISCONNECTING = 10
+ DISCONNECTED = 11