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

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

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

--- trunk/libxmltv/Core/XMLTV.cs	2013/03/08 02:13:59	36
+++ trunk/libxmltv/Core/XMLTV.cs	2013/03/08 04:01:25	46
@@ -3,6 +3,7 @@
 using System.Linq;
 using System.Text;
 using libxmltv.Interfaces;
+using System.ComponentModel;
 
 namespace libxmltv.Core
 {
@@ -11,11 +12,11 @@
     /// </summary>
     public static class XMLTV
     {
-        static XMLTV() { XMLTV_LOGGER.Initialize(); }
+        static XMLTV() { xmltv_logger.Initialize(); }
 
 
-        public static IXMLTVRuntimeInstance CreateInstance(string xml_file) { return new XMLTVRuntimeInstance(xml_file); }
-
+        public static IXMLTVRuntimeInstance CreateInstance(string xml_file) { return CreateInstance(xml_file, null); }
+        public static IXMLTVRuntimeInstance CreateInstance(string xml_file, EventHandler<CancelEventArgs> t) { return new XMLTVRuntimeInstance(xml_file,t); }
         //private static void CreateLoader(string xml_file, out XMLTVRuntimeInstance xmltv)
         //{
         //    //XMLTV_LOADER loader = new XMLTV_LOADER(xml_file);
@@ -40,3 +41,4 @@
         ////}
     }
 }
+

 

  ViewVC Help
Powered by ViewVC 1.1.22