--- trunk/libxmltv/Core/XMLTVLoader.cs 2013/03/08 03:09:49 43 +++ trunk/libxmltv/Core/XMLTVLoader.cs 2013/03/08 03:36:44 44 @@ -9,11 +9,15 @@ using System.Xml.Linq; namespace libxmltv.Core { - internal class XMLTVLoader// : IXMLTV_LOADER + internal class XMLTVLoader : IDisposable { private string xmlfile = string.Empty; + internal static void CreateInstance(string xml_file, XMLTVRuntimeInstance xmltv) + { + using (XMLTVLoader g = new XMLTVLoader(xml_file, xmltv)) { } + } private XMLTVRuntimeInstance instance; - public XMLTVLoader(string xml_file, XMLTVRuntimeInstance xmltv) + protected XMLTVLoader(string xml_file, XMLTVRuntimeInstance xmltv) { XMLTV_LOGGER.Log.Verbose.Debug.WriteLine("Creating Instance of XMLTVLoader"); //string _xmltv; @@ -43,5 +47,10 @@ namespace libxmltv.Core XMLTV_LOGGER.Log.Error.WriteLine(ex.GetBaseException().ToString()); } } + + public void Dispose() + { + //throw new NotImplementedException(); + } } }