More deprecations

This commit is contained in:
Oupson 2021-02-06 17:35:15 +01:00
parent 0f344e6ab7
commit b0e79ccee9
4 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package oupson.apng.chunks
/**
* An interface for the png chunks
*/
@Deprecated("Deprecated", level = DeprecationLevel.WARNING)
interface Chunk {
var body : ByteArray

View File

@ -1,7 +1,7 @@
package oupson.apng.chunks
import oupson.apng.utils.Utils
@Deprecated("Deprecated", level = DeprecationLevel.WARNING)
class IDAT : Chunk {
@Suppress("PropertyName")
var IDATBody: ArrayList<ByteArray> = ArrayList()

View File

@ -2,6 +2,7 @@ package oupson.apng.chunks
import oupson.apng.utils.Utils
@Deprecated("Deprecated", level = DeprecationLevel.WARNING)
class IHDR : Chunk {
override var body = byteArrayOf()
var pngWidth = -1

View File

@ -5,6 +5,7 @@ import oupson.apng.utils.Utils.Companion.decodeBlendOp
import oupson.apng.utils.Utils.Companion.decodeDisposeOp
@Suppress("ClassName")
@Deprecated("Deprecated", level = DeprecationLevel.WARNING)
class fcTL : Chunk {
override var body : ByteArray = byteArrayOf()