/[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 137 by william, Wed Mar 13 16:59:40 2013 UTC revision 256 by william, Sat May 18 02:45:35 2013 UTC
# Line 31  namespace libxmltv.Interfaces Line 31  namespace libxmltv.Interfaces
31          string ToString();          string ToString();
32      }      }
33    
34      public interface IProgramDefinitionList : IList<IProgramDefinition>, IDataSourceSortable, IDataSourceFilterable { }      public interface IRawDataSource : IRawDataSource<object> { }
35      public interface IChannelDefintionList : IList<IChannelDefintion>, IDataSourceSortable, IDataSourceFilterable { }      public interface IRawDataSource<T> {
36             [Browsable(false)]
37            T RawDataSource { get; } }
38        public interface IProgramDefinitionList : IList<IProgramDefinition>, IDataSourceSortable, IDataSourceFilterable { } //, IRawDataSource<IProgramDefinitionList> { }
39        public interface IChannelDefintionList : IList<IChannelDefintion>, IDataSourceSortable, IDataSourceFilterable { }//, IRawDataSource<IChannelDefintionList> { }
40    
41    
42      public interface IChannelDefintion      public interface IChannelDefintion : IEquatable<IChannelDefintion>, IRawDataSource<IXMLTVChannel>
43      {      {
44          string ChannelId { get; }          string ChannelId { get; }
45          string ChannelName { get; }          string ChannelName { get; }
46            string ToString();
47      }      }
48      public interface IProgramDefinition      public interface IProgramDefinition : IEquatable<IProgramDefinition>, IRawDataSource<IXMLTVProgram>
49      {      {
50          //string ChannelId { get;  }          //string ChannelId { get;  }
51          int ChannelNumber { get; } // column index: 0          int ChannelNumber { get; } // column index: 0
52          string ChannelName { get; }// column index: 1          string ChannelName { get; }// column index: 1
53          DateTime Start { get; }// column index: 2          string Start { get; }// column index: 2
54          DateTime Stop { get; }// column index: 3          string Stop { get; }// column index: 3
55          string Title { get; }// column index: 4          string Title { get; }// column index: 4
56          string SubTitle { get; }// column index: 5          string SubTitle { get; }// column index: 5
57          string Description { get; }// column index: 6          string Description { get; }// column index: 6
58            string Rating { get; }// column index: 7
59            string ToString();
60      }      }
61      public interface IXMLTVChannel      public interface IXMLTVChannel
62      {      {
# Line 63  namespace libxmltv.Interfaces Line 70  namespace libxmltv.Interfaces
70      public interface IXMLTVProgram      public interface IXMLTVProgram
71      {      {
72          IPropertyDictionary MetaData { get; }          IPropertyDictionary MetaData { get; }
73          ExtraList GetExtraMetaData();          List<IExtraMetaData> GetExtraMetaData();
74      }      }
75    
76      public interface IExtraMetaData : IExtraMetaData<string, string> { }      public interface IExtraMetaData : IExtraMetaData<string, string> { }

Legend:
Removed from v.137  
changed lines
  Added in v.256

  ViewVC Help
Powered by ViewVC 1.1.22