BililiveRecorder/BililiveRecorder.Core/IRecorder.cs

26 lines
617 B
C#
Raw Normal View History

2020-11-27 18:51:02 +08:00
using System;
2018-11-28 22:29:35 +08:00
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
2020-11-27 18:51:02 +08:00
using BililiveRecorder.Core.Config;
2018-11-28 22:29:35 +08:00
namespace BililiveRecorder.Core
{
2020-11-27 18:51:02 +08:00
public interface IRecorder : INotifyPropertyChanged, INotifyCollectionChanged, IEnumerable<IRecordedRoom>, ICollection<IRecordedRoom>, IDisposable
2018-11-28 22:29:35 +08:00
{
ConfigV1 Config { get; }
bool Initialize(string workdir);
void AddRoom(int roomid);
void AddRoom(int roomid, bool enabled);
void RemoveRoom(IRecordedRoom rr);
2019-08-14 21:41:41 +08:00
void SaveConfigToFile();
2020-11-27 18:51:02 +08:00
// void Shutdown();
2018-11-28 22:29:35 +08:00
}
}