From d08591dea709917553c0d6de024820bb29b328fb Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Tue, 3 Mar 2020 23:38:23 +0100 Subject: Platform dependent hints for renderer --- .../kotlin/translators/documentables/PageContentBuilder.kt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'plugins/base/src/main/kotlin/translators') diff --git a/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt b/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt index eb422920..0c08241f 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt @@ -232,6 +232,20 @@ open class PageContentBuilder( block: DocumentableContentBuilder.() -> Unit ): ContentGroup = contentFor(dri, platformData, kind, styles, extras, block) + fun platformDependentHint( + dri: DRI = mainDRI, + platformData: Set = mainPlatformData, + kind: Kind = ContentKind.Main, + styles: Set