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

Diff of /trunk/libxmltv/Interfaces/Interfaces.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 118 by william, Sun Mar 10 17:41:52 2013 UTC revision 120 by william, Sun Mar 10 18:19:12 2013 UTC
# Line 23  namespace libxmltv.Interfaces Line 23  namespace libxmltv.Interfaces
23      //    Dictionary<int, IXMLTVProgram> Programs { get; }      //    Dictionary<int, IXMLTVProgram> Programs { get; }
24      //}      //}
25    
26      public interface IXMLTVSource      public interface IXMLTVSource : IDataSourceBindable
27      {      {
28          string SourceName { get; }          string SourceName { get; }
29          string GeneratorName { get; }          string GeneratorName { get; }
30          string GeneratorUrl { get; }          string GeneratorUrl { get; }
31          string ToString();          string ToString();
32      }      }
33    
34        //internal interface IChannelList : IDataSourceBindable
35        //{
36        //}
37        //internal interface IProgramList : IDataSourceBindable
38        //{
39        //}
40      public interface IXMLTVChannel      public interface IXMLTVChannel
41      {      {
42          string Id { get; }          string Id { get; }
# Line 39  namespace libxmltv.Interfaces Line 46  namespace libxmltv.Interfaces
46          IPropertyList MetaData { get; }          IPropertyList MetaData { get; }
47          string ToString();          string ToString();
48      }      }
49      public interface IXMLTVProgram      public interface IXMLTVProgram
50      {      {
51          IPropertyDictionary MetaData { get; }          IPropertyDictionary MetaData { get; }
52          List<IExtraMetaData> GetExtraMetaData();          ExtraList GetExtraMetaData();
53      }      }
54    
55      public interface IExtraMetaData : IExtraMetaData<string, string> { }      public interface IExtraMetaData : IExtraMetaData<string, string> { }
# Line 50  namespace libxmltv.Interfaces Line 57  namespace libxmltv.Interfaces
57      {      {
58          XElement AsXElement();          XElement AsXElement();
59      }      }
60    
61        public interface IDataSourceBindable
62        {
63            object CreateBindableDataSource();
64        }
65    
66      internal interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }      internal interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }
67      internal interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }      internal interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }
68      internal interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }      internal interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }
# Line 68  namespace libxmltv.Interfaces Line 81  namespace libxmltv.Interfaces
81          string XmlFile_FullName { get; }          string XmlFile_FullName { get; }
82          string XmlDoc { get; }          string XmlDoc { get; }
83          IXMLTVSource Source { get; }          IXMLTVSource Source { get; }
84          List<IXMLTVChannel> Channels { get; }          ChannelList Channels { get; }
85          List<IXMLTVProgram> Programs { get; }          ProgramList Programs { get; }
86          List<IExtraMetaData> ExtraEntries { get; }         ExtraList ExtraEntries { get; }
87      }      }
88      internal interface IXMLTVSerializer : IXMLTVSerializer<object> { }      internal interface IXMLTVSerializer : IXMLTVSerializer<object> { }
89      internal interface IXMLTVSerializer<T>      internal interface IXMLTVSerializer<T>

Legend:
Removed from v.118  
changed lines
  Added in v.120

  ViewVC Help
Powered by ViewVC 1.1.22