/[xmltv_parser]/trunk/libxmltv/Interfaces/Interfaces.cs
ViewVC logotype

Annotation of /trunk/libxmltv/Interfaces/Interfaces.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (hide annotations) (download)
Thu Mar 7 11:58:34 2013 UTC (6 years, 9 months ago) by william
File size: 928 byte(s)
+ implement channel parsing

1 william 10 using System;
2     using System.Collections.Generic;
3     using System.Linq;
4     using System.Text;
5 william 11 using System.IO;
6 william 22 using System.Xml.Linq;
7 william 26 using libxmltv.Core;
8 william 10
9     namespace libxmltv.Interfaces
10     {
11 william 11 public interface IXMLTV_LOADER
12     {
13     FileInfo XmlFile { get; }
14 william 22 XDocument XmlDoc { get; }
15 william 11 }
16 william 22 public interface IXMLTV_PARSER
17     {
18     IXMLTV_LOADER XMLTV_LOADER { get; }
19 william 23 void TestParse();
20 william 25 IXMLTVSource Source { get; }
21 william 26 Dictionary<string, IXMLTVChannel> Channels { get; }
22 william 22 }
23 william 25
24     public interface IXMLTVSource
25     {
26     string SourceName { get; }
27     string GeneratorName { get; }
28     string GeneratorUrl { get; }
29     string ToString();
30     }
31 william 26 public interface IXMLTVChannel
32     {
33     string ChannelId { get; }
34     int ChannelNumber { get; }
35     string ChannelCallSign { get; }
36     string ChannelName { get; }
37     }
38 william 10 }

  ViewVC Help
Powered by ViewVC 1.1.22