BililiveRecorder/BililiveRecorder.Core/IRecorder.cs
2020-11-27 18:51:02 +08:00

26 lines
617 B
C#

using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using BililiveRecorder.Core.Config;
namespace BililiveRecorder.Core
{
public interface IRecorder : INotifyPropertyChanged, INotifyCollectionChanged, IEnumerable<IRecordedRoom>, ICollection<IRecordedRoom>, IDisposable
{
ConfigV1 Config { get; }
bool Initialize(string workdir);
void AddRoom(int roomid);
void AddRoom(int roomid, bool enabled);
void RemoveRoom(IRecordedRoom rr);
void SaveConfigToFile();
// void Shutdown();
}
}