/[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 27 - (hide annotations) (download)
Thu Mar 7 12:11:41 2013 UTC (6 years, 9 months ago) by william
File size: 1070 byte(s)
+ basic layout for Program entries

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 27 Dictionary<int, IXMLTVProgram> Programs { get; }
23 william 22 }
24 william 25
25     public interface IXMLTVSource
26     {
27     string SourceName { get; }
28     string GeneratorName { get; }
29     string GeneratorUrl { get; }
30     string ToString();
31     }
32 william 26 public interface IXMLTVChannel
33     {
34     string ChannelId { get; }
35     int ChannelNumber { get; }
36     string ChannelCallSign { get; }
37     string ChannelName { get; }
38     }
39 william 27 public interface IXMLTVProgram
40     {
41     int ProgramId { get; }
42     }
43 william 10 }
44 william 27

  ViewVC Help
Powered by ViewVC 1.1.22