summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/core/OpenVPNManagement.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-06-23 15:09:09 +0200
committerArne Schwabe <arne@rfc2549.org>2013-06-23 15:09:09 +0200
commit180642560ef5c8a0139dcd50c1a7fa949c0c20f4 (patch)
tree89a22ec06b6a6b943a0cf0903a9cebe954d29abe /src/de/blinkt/openvpn/core/OpenVPNManagement.java
parent71a288f56eb45be299782cd630b401e32118b8b6 (diff)
Implement expandable notifications for 4.1
Diffstat (limited to 'src/de/blinkt/openvpn/core/OpenVPNManagement.java')
-rw-r--r--src/de/blinkt/openvpn/core/OpenVPNManagement.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/core/OpenVPNManagement.java b/src/de/blinkt/openvpn/core/OpenVPNManagement.java
index 5b8fc074..ce8d38c2 100644
--- a/src/de/blinkt/openvpn/core/OpenVPNManagement.java
+++ b/src/de/blinkt/openvpn/core/OpenVPNManagement.java
@@ -1,11 +1,17 @@
package de.blinkt.openvpn.core;
public interface OpenVPNManagement {
- int mBytecountinterval=2;
+ enum pauseReason {
+ noNetwork,
+ userPause,
+ screenOff
+ }
+
+ int mBytecountInterval =2;
void reconnect();
- void pause();
+ void pause(pauseReason reason);
void resume();