/[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/03/07 11:58:34	26
+++ trunk/libxmltv/Interfaces/Interfaces.cs	2013/03/07 12:51:53	28
@@ -19,6 +19,7 @@
         void TestParse();
         IXMLTVSource Source { get; }
         Dictionary<string, IXMLTVChannel> Channels { get; }
+        Dictionary<int, IXMLTVProgram> Programs { get; }
     }
 
     public interface IXMLTVSource
@@ -30,9 +31,21 @@
     }
     public interface IXMLTVChannel
     {
-        string ChannelId { get; }
-        int ChannelNumber { get; }
-        string ChannelCallSign { get; }
-        string ChannelName { get; }
+        string Id { get; }
+        int Number { get; }
+        string CallSign { get; }
+        string Name { get; }
+        string ToString();
+    }
+    public interface IXMLTVProgram
+    {
+        int Id { get; }
+        DateTime Start { get; }
+        DateTime Stop { get; }
+        IXMLTVChannel Channel { get; }
+        string Title { get; }
+        string SubTitle { get; }
+        string Description { get; }
+        string ToString();
     }
-}
+}
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22