using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Xml.Linq; using libxmltv.Core; namespace libxmltv.Interfaces { public interface IXMLTVLoader : IDisposable { FileInfo XmlFile { get; } XDocument XmlDoc { get; } } public interface IXMLTVParser : IDisposable { //IXMLTV_LOADER XMLTV_LOADER { get; } //void TestParse(); IXMLTVSource Source { get; } Dictionary Channels { get; } Dictionary Programs { get; } } public interface IXMLTVSource { string SourceName { get; } string GeneratorName { get; } string GeneratorUrl { get; } string ToString(); } public interface IXMLTVChannel { string Id { get; } int Number { get; } string CallSign { get; } string Name { get; } string ToString(); } public interface IXMLTVProgram { int Id { get; } DateTime Start { get; } DateTime Stop { get; } IXMLTVChannel Channel { get; } string Title { get; } string SubTitle { get; } string Description { get; } string ToString(); } public interface IXMLTVRuntimeInstance : IXMLTVLoader, IXMLTVParser, IDisposable { bool IsDisposing { get; } } }