aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/Interfaces.kt
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils/Interfaces.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Interfaces.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Interfaces.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Interfaces.kt
new file mode 100644
index 00000000..79904c6e
--- /dev/null
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Interfaces.kt
@@ -0,0 +1,12 @@
+package com.pitchedapps.frost.utils
+
+import io.reactivex.subjects.Subject
+
+/**
+ * Created by Allan Wang on 2017-05-29.
+ */
+interface ObservableContainer<T> {
+ val observable: Subject<T>
+}
+
+interface KeyPairObservable : ObservableContainer<Pair<Int, Int>> \ No newline at end of file