/[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

--- trunk/libxmltv/Interfaces/Interfaces.cs	2013/04/17 21:31:13	253
+++ trunk/libxmltv/Interfaces/Interfaces.cs	2013/04/17 21:55:30	254
@@ -31,17 +31,19 @@
         string ToString();
     }
 
-    public interface IProgramDefinitionList : IList<IProgramDefinition>, IDataSourceSortable, IDataSourceFilterable { }
-    public interface IChannelDefintionList : IList<IChannelDefintion>, IDataSourceSortable, IDataSourceFilterable { }
+    public interface IRawDataSource : IRawDataSource<object> { }
+    public interface IRawDataSource<T> { T RawDataSource { get; } }
+    public interface IProgramDefinitionList : IList<IProgramDefinition>, IDataSourceSortable, IDataSourceFilterable { } //, IRawDataSource<IProgramDefinitionList> { }
+    public interface IChannelDefintionList : IList<IChannelDefintion>, IDataSourceSortable, IDataSourceFilterable { }//, IRawDataSource<IChannelDefintionList> { }
 
 
-    public interface IChannelDefintion
+    public interface IChannelDefintion : IEquatable<IChannelDefintion>, IRawDataSource<IXMLTVChannel>
     {
         string ChannelId { get; }
         string ChannelName { get; }
         string ToString();
     }
-    public interface IProgramDefinition : IEquatable<IProgramDefinition>
+    public interface IProgramDefinition : IEquatable<IProgramDefinition>, IRawDataSource<IXMLTVProgram>
     {
         //string ChannelId { get;  }
         int ChannelNumber { get; } // column index: 0

 

  ViewVC Help
Powered by ViewVC 1.1.22