X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ftext%2FPart.kt;fp=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ftext%2FPart.kt;h=8633ec183f68c677871712bcdfa9ca83a04b4018;hp=0000000000000000000000000000000000000000;hb=de6d73a2f0718ff65832859a3ef7ba4f32299327;hpb=4273a6ebdde8c4f1092a6c5d4f62ad483f3eaa96 diff --git a/src/main/kotlin/net/pterodactylus/sone/text/Part.kt b/src/main/kotlin/net/pterodactylus/sone/text/Part.kt new file mode 100644 index 0000000..8633ec1 --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/sone/text/Part.kt @@ -0,0 +1,11 @@ +package net.pterodactylus.sone.text + +/** + * A part is a single piece of information that can be displayed as a single + * element. How the part is displayed is not part of the [Part] specification. + */ +interface Part { + + val text: String + +}