/[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

revision 36 by william, Fri Mar 8 02:13:59 2013 UTC revision 44 by william, Fri Mar 8 03:36:44 2013 UTC
# Line 9  using System.Xml.Linq; Line 9  using System.Xml.Linq;
9    
10  namespace libxmltv.Core  namespace libxmltv.Core
11  {    {  
12      internal class XMLTVLoader// : IXMLTV_LOADER      internal class XMLTVLoader : IDisposable
13      {      {
14          private string xmlfile = string.Empty;          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;          private XMLTVRuntimeInstance instance;
20          public XMLTVLoader(string xml_file, XMLTVRuntimeInstance xmltv)          protected XMLTVLoader(string xml_file, XMLTVRuntimeInstance xmltv)
21          {          {
22              XMLTV_LOGGER.Log.Verbose.Debug.WriteLine("Creating Instance of XMLTVLoader");              XMLTV_LOGGER.Log.Verbose.Debug.WriteLine("Creating Instance of XMLTVLoader");
23              //string _xmltv;              //string _xmltv;
# Line 43  namespace libxmltv.Core Line 47  namespace libxmltv.Core
47                  XMLTV_LOGGER.Log.Error.WriteLine(ex.GetBaseException().ToString());                  XMLTV_LOGGER.Log.Error.WriteLine(ex.GetBaseException().ToString());
48              }              }
49          }          }
50    
51            public void Dispose()
52            {
53                //throw new NotImplementedException();
54            }
55      }      }
56  }  }

Legend:
Removed from v.36  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.22