9 |
|
|
10 |
|
namespace libxmltv.Core |
11 |
|
{ |
12 |
< |
internal class XMLTVLoader// : IXMLTV_LOADER |
12 |
> |
internal class XMLTVLoader : IDisposable |
13 |
|
{ |
14 |
|
private string xmlfile = string.Empty; |
15 |
+ |
internal static void CreateInstance(string xml_file, XMLTVRuntimeInstance xmltv) |
16 |
+ |
{ |
17 |
+ |
using (XMLTVLoader g = new XMLTVLoader(xml_file, xmltv)) { } |
18 |
+ |
} |
19 |
|
private XMLTVRuntimeInstance instance; |
20 |
< |
public XMLTVLoader(string xml_file, XMLTVRuntimeInstance xmltv) |
20 |
> |
protected XMLTVLoader(string xml_file, XMLTVRuntimeInstance xmltv) |
21 |
|
{ |
22 |
|
XMLTV_LOGGER.Log.Verbose.Debug.WriteLine("Creating Instance of XMLTVLoader"); |
23 |
|
//string _xmltv; |
47 |
|
XMLTV_LOGGER.Log.Error.WriteLine(ex.GetBaseException().ToString()); |
48 |
|
} |
49 |
|
} |
50 |
+ |
|
51 |
+ |
public void Dispose() |
52 |
+ |
{ |
53 |
+ |
//throw new NotImplementedException(); |
54 |
+ |
} |
55 |
|
} |
56 |
|
} |