Add Windows desktop version
This commit is contained in:
14
windows/StreamPlayer.Desktop/Models/ChannelSection.cs
Normal file
14
windows/StreamPlayer.Desktop/Models/ChannelSection.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace StreamPlayer.Desktop.Models;
|
||||
|
||||
public enum SectionType
|
||||
{
|
||||
Events,
|
||||
Channels
|
||||
}
|
||||
|
||||
public sealed record ChannelSection(string Title, SectionType Type, IReadOnlyList<StreamChannel> Channels)
|
||||
{
|
||||
public bool IsEvents => Type == SectionType.Events;
|
||||
}
|
||||
Reference in New Issue
Block a user