Swiftgram/Postbox/MediaCleanupTable.swift
2017-08-29 17:20:16 +03:00

19 lines
460 B
Swift

import Foundation
final class MediaCleanupTable: Table {
static func tableSpec(_ id: Int32) -> ValueBoxTable {
return ValueBoxTable(id: id, keyType: .binary)
}
override init(valueBox: ValueBox, table: ValueBoxTable) {
super.init(valueBox: valueBox, table: table)
}
func add(_ media: Media, sharedEncoder: PostboxEncoder = PostboxEncoder()) {
}
func debugList() -> [Media] {
return []
}
}