/[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 36 - (hide annotations) (download)
Fri Mar 8 02:13:59 2013 UTC (6 years, 9 months ago) by william
File size: 1377 byte(s)
+ use a MarshalByRefObject

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 36 public interface IXMLTVLoader
12 william 11 {
13     FileInfo XmlFile { get; }
14 william 22 XDocument XmlDoc { get; }
15 william 11 }
16 william 36 public interface IXMLTVParser
17 william 22 {
18 william 36 //IXMLTV_LOADER XMLTV_LOADER { get; }
19     //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 william 28 string Id { get; }
35     int Number { get; }
36     string CallSign { get; }
37     string Name { get; }
38     string ToString();
39 william 31 }
40 william 27 public interface IXMLTVProgram
41     {
42 william 28 int Id { get; }
43     DateTime Start { get; }
44     DateTime Stop { get; }
45     IXMLTVChannel Channel { get; }
46     string Title { get; }
47     string SubTitle { get; }
48     string Description { get; }
49     string ToString();
50 william 27 }
51 william 36 public interface IXMLTVRuntimeInstance : IXMLTVLoader, IXMLTVParser { }
52 william 28 }

  ViewVC Help
Powered by ViewVC 1.1.22