Mercurial > cgi-bin > hgweb.cgi > ClipMan
comparison src/name/blackcap/clipman/Pasteboard.kt @ 41:33fbe3a78d84
Got the settings stuff compiling (untested).
author | David Barts <n5jrn@me.com> |
---|---|
date | Sat, 08 Feb 2020 22:10:01 -0700 |
parents | 2a5808156f99 |
children |
comparison
equal
deleted
inserted
replaced
40:c803a2c89ea0 | 41:33fbe3a78d84 |
---|---|
17 import java.util.logging.Level | 17 import java.util.logging.Level |
18 import java.util.logging.Logger | 18 import java.util.logging.Logger |
19 import kotlin.collections.HashMap | 19 import kotlin.collections.HashMap |
20 | 20 |
21 /* Kotlin bug: compaion class fails to see these unless they are out here. */ | 21 /* Kotlin bug: compaion class fails to see these unless they are out here. */ |
22 private val CHARSET = Charset.forName(CHARSET_NAME) | |
23 private val HTML_FLAVOR = DataFlavor("text/html; document=all; class=\"[B\"; charset=" + CHARSET_NAME) | 22 private val HTML_FLAVOR = DataFlavor("text/html; document=all; class=\"[B\"; charset=" + CHARSET_NAME) |
24 | 23 |
25 /** | 24 /** |
26 * Represents an item of data in the clipboard and how to read and | 25 * Represents an item of data in the clipboard and how to read and |
27 * write it. | 26 * write it. |