Mercurial > cgi-bin > hgweb.cgi > JpegWasher
view src/name/blackcap/exifwasher/exiv2/ExifData.kt @ 8:88d02fa97d78
Got WasherDialog table laying out somewhat sanely.
author | David Barts <n5jrn@me.com> |
---|---|
date | Fri, 10 Apr 2020 15:09:36 -0700 |
parents | db63d01a23c6 |
children | 959fa9014deb |
line wrap: on
line source
/* * Some image EXIF metadata. */ package name.blackcap.exifwasher.exiv2 import kotlin.collections.Iterable import kotlin.collections.Iterator public class ExifData(ptr: Long) { init { Initialize.libraries() } private external fun _erase(key: String): Unit private external fun _value(key: String): Value private external fun _keys(): Array<String> private val pointer = ptr val keys: Array<String> get() { return _keys() } fun erase(key: String): Unit = _erase(key) public data class Value(val type: String, val value: String) operator fun get(key: String): Value = _value(key) }