ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/libxmltv/Interfaces/Interfaces.cs
Revision: 26
Committed: Thu Mar 7 11:58:34 2013 UTC (10 years, 9 months ago) by william
File size: 928 byte(s)
Log Message:
+ implement channel parsing

File Contents

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