aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/hmr/ApplicationBase.kt10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/hmr/ApplicationBase.kt b/src/main/kotlin/pl/treksoft/kvision/hmr/ApplicationBase.kt
index bd92bc25..3183f71a 100644
--- a/src/main/kotlin/pl/treksoft/kvision/hmr/ApplicationBase.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/hmr/ApplicationBase.kt
@@ -22,20 +22,20 @@
package pl.treksoft.kvision.hmr
/**
- * Base class for applications.
+ * Base interface for applications.
*
- * Base class for applications supporting Hot Module Replacement (HMR).
+ * Base interface for applications supporting Hot Module Replacement (HMR).
*/
-abstract class ApplicationBase {
+interface ApplicationBase {
/**
* Starting point for an application.
* @param state Initial state between Hot Module Replacement (HMR).
*/
- abstract fun start(state: Map<String, Any>)
+ fun start(state: Map<String, Any>)
/**
* Ending point for an application.
* @return final state for Hot Module Replacement (HMR).
*/
- abstract fun dispose(): Map<String, Any>
+ fun dispose(): Map<String, Any>
}