mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-05-28 21:28:14 +00:00
2bbc64be43
* [feature] basic video support * fix missing semicolon * replace text shadow with stacked icons Co-authored-by: f0x <f0x@cthu.lu>
20 lines
240 B
Go
20 lines
240 B
Go
package mp4
|
|
|
|
type IAnyType interface {
|
|
IBox
|
|
SetType(BoxType)
|
|
}
|
|
|
|
type AnyTypeBox struct {
|
|
Box
|
|
Type BoxType
|
|
}
|
|
|
|
func (e *AnyTypeBox) GetType() BoxType {
|
|
return e.Type
|
|
}
|
|
|
|
func (e *AnyTypeBox) SetType(boxType BoxType) {
|
|
e.Type = boxType
|
|
}
|