mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-07-04 12:55:47 +00:00
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
|
||
|
}
|