/[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 12:51:53	28
+++ trunk/libxmltv/Interfaces/Interfaces.cs	2013/03/08 03:36:44	44
@@ -8,15 +8,15 @@
 
 namespace libxmltv.Interfaces
 {
-    public interface IXMLTV_LOADER
+    public interface IXMLTVLoader : IDisposable
     {
         FileInfo XmlFile { get; }
         XDocument XmlDoc { get; }
     }
-    public interface IXMLTV_PARSER
+    public interface IXMLTVParser : IDisposable
     {
-        IXMLTV_LOADER XMLTV_LOADER { get; }
-        void TestParse();
+        //IXMLTV_LOADER XMLTV_LOADER { get; }
+        //void TestParse();
         IXMLTVSource Source { get; }
         Dictionary<string, IXMLTVChannel> Channels { get; }
         Dictionary<int, IXMLTVProgram> Programs { get; }
@@ -36,7 +36,7 @@
         string CallSign { get; }
         string Name { get; }
         string ToString();
-    }
+    }    
     public interface IXMLTVProgram
     {
         int Id { get; }
@@ -48,4 +48,8 @@
         string Description { get; }
         string ToString();
     }
+    public interface IXMLTVRuntimeInstance : IXMLTVLoader, IXMLTVParser, IDisposable 
+    {
+        bool IsDisposing { get; }
+    }
 }
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22