3 |
using System.Linq; |
using System.Linq; |
4 |
using System.Text; |
using System.Text; |
5 |
using libxmltv.Interfaces; |
using libxmltv.Interfaces; |
6 |
|
using System.ComponentModel; |
7 |
|
|
8 |
namespace libxmltv.Core |
namespace libxmltv.Core |
9 |
{ |
{ |
12 |
/// </summary> |
/// </summary> |
13 |
public static class XMLTV |
public static class XMLTV |
14 |
{ |
{ |
15 |
static XMLTV() { XMLTV_LOGGER.Initialize(); } |
static XMLTV() { xmltv_logger.Initialize(); } |
16 |
|
|
17 |
|
|
18 |
public static IXMLTVRuntimeInstance CreateInstance(string xml_file) { return new XMLTVRuntimeInstance(xml_file); } |
public static IXMLTVRuntimeInstance CreateInstance(string xml_file) { return CreateInstance(xml_file, null); } |
19 |
|
public static IXMLTVRuntimeInstance CreateInstance(string xml_file, EventHandler<CancelEventArgs> t) { return new XMLTVRuntimeInstance(xml_file,t); } |
20 |
//private static void CreateLoader(string xml_file, out XMLTVRuntimeInstance xmltv) |
//private static void CreateLoader(string xml_file, out XMLTVRuntimeInstance xmltv) |
21 |
//{ |
//{ |
22 |
// //XMLTV_LOADER loader = new XMLTV_LOADER(xml_file); |
// //XMLTV_LOADER loader = new XMLTV_LOADER(xml_file); |
41 |
////} |
////} |
42 |
} |
} |
43 |
} |
} |
44 |
|
|