From 4495ca4af667b5234f154196059cf636d415ad86 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 20 Feb 2018 11:59:26 +0100 Subject: Change abstract class to interface for ApplicationBase. --- src/main/kotlin/pl/treksoft/kvision/hmr/ApplicationBase.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main') 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) + fun start(state: Map) /** * Ending point for an application. * @return final state for Hot Module Replacement (HMR). */ - abstract fun dispose(): Map + fun dispose(): Map } -- cgit