/[xmltv_parser]/trunk/libxmltv/Core/XMLTVLoader.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVLoader.cs

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

--- trunk/libxmltv/Core/XMLTVLoader.cs	2013/03/09 09:29:40	72
+++ trunk/libxmltv/Core/XMLTVLoader.cs	2013/03/09 12:23:27	81
@@ -12,13 +12,10 @@
 {
     internal class XMLTVLoader : XMLTVBase<XMLTVRuntimeInstance>, IDisposable
     {
-        private string xmlfile = string.Empty;
-        //internal static void CreateInstance(string xml_file, XMLTVRuntimeInstance xmltv)
-        //{
-        //    using (XMLTVLoader g = new XMLTVLoader(xml_file, xmltv)) { }            
-        //}
+        //private string xmlfile = string.Empty;
+        public XMLTVLoader(string xml_file) : base(null, xml_file) { }
         protected XMLTVLoader(string xml_file, XMLTVRuntimeInstance instance)
-            : base(instance)
+            : base(instance, xml_file)
         {
             xmltv_logger.Debug.WriteLine("Creating Instance of XMLTVLoader");
            var fi = new FileInfo(xml_file);

 

  ViewVC Help
Powered by ViewVC 1.1.22