You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel/Services/DOM/Model/Flow/Audioplayer.cs

36 lines
894 B

6 years ago
using System.Collections.Generic;
using ZeroLevel.Services.Serialization;
namespace ZeroLevel.DocumentObjectModel.Flow
{
public sealed class Audioplayer :
ContentElement
{
public Text Title;
public List<Audio> Tracks = new List<Audio>();
public Audioplayer() :
base(ContentElementType.Audioplayer)
{
}
public Audioplayer(IBinaryReader reader) :
base(ContentElementType.Audioplayer)
{
Deserialize(reader);
}
public override void Deserialize(IBinaryReader reader)
{
Title = reader.Read<Text>();
this.Tracks = reader.ReadCollection<Audio>();
}
public override void Serialize(IBinaryWriter writer)
{
writer.Write(Title);
writer.WriteCollection<Audio>(this.Tracks);
}
}
}

Powered by TurnKey Linux.