diff options
Diffstat (limited to 'plugins/templating/src/main/kotlin/templates/CommandHandler.kt')
-rw-r--r-- | plugins/templating/src/main/kotlin/templates/CommandHandler.kt | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/plugins/templating/src/main/kotlin/templates/CommandHandler.kt b/plugins/templating/src/main/kotlin/templates/CommandHandler.kt deleted file mode 100644 index c06d52c3..00000000 --- a/plugins/templating/src/main/kotlin/templates/CommandHandler.kt +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */ - -package org.jetbrains.dokka.templates - -import org.jetbrains.dokka.base.templating.Command -import org.jsoup.nodes.Element -import org.jsoup.nodes.Node -import java.io.File - - -public interface CommandHandler { - @Deprecated("This was renamed to handleCommandAsTag", ReplaceWith("handleCommandAsTag(command, element, input, output)")) - public fun handleCommand(element: Element, command: Command, input: File, output: File) { } - - @Suppress("DEPRECATION") - public fun handleCommandAsTag(command: Command, body: Element, input: File, output: File) { - handleCommand(body, command, input, output) - } - public fun handleCommandAsComment(command: Command, body: List<Node>, input: File, output: File) { } - public fun canHandle(command: Command): Boolean - public fun finish(output: File) {} -} - |