diff options
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt b/app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt new file mode 100644 index 00000000..e32c01ae --- /dev/null +++ b/app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt @@ -0,0 +1,11 @@ +package com.pitchedapps.frost.events + +import android.content.Context +import com.pitchedapps.frost.WebOverlayActivity + +/** + * Created by Allan Wang on 2017-06-01. + */ +class WebLaunchEvent(val url: String) { + fun execute(context: Context) = WebOverlayActivity.newInstance(context, url) +}
\ No newline at end of file |