diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-07-18 20:52:00 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-07-22 21:32:38 +0000 |
| commit | b989096dc22ae64d0cf2d96db7d73c2c4438acee (patch) | |
| tree | 95aa3fa161dcc4ed1bdde3de3da1e37535765b04 /android/src/main | |
| parent | 81e8f3ca90749d6dc202bdf6b399ec377dfed6fb (diff) | |
| download | mullvadvpn-b989096dc22ae64d0cf2d96db7d73c2c4438acee.tar.xz mullvadvpn-b989096dc22ae64d0cf2d96db7d73c2c4438acee.zip | |
Create `KeygenEvent` class
Diffstat (limited to 'android/src/main')
| -rw-r--r-- | android/src/main/kotlin/net/mullvad/mullvadvpn/model/KeygenEvent.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/model/KeygenEvent.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/model/KeygenEvent.kt new file mode 100644 index 0000000000..b5938d65f6 --- /dev/null +++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/model/KeygenEvent.kt @@ -0,0 +1,7 @@ +package net.mullvad.mullvadvpn.model + +sealed class KeygenEvent { + class NewKey(var publicKey: PublicKey) : KeygenEvent() + class TooManyKeys : KeygenEvent() + class GenerationFailure : KeygenEvent() +} |
