/[xmltv_parser]/trunk/xmltv_parser/main.cs
ViewVC logotype

Diff of /trunk/xmltv_parser/main.cs

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

--- trunk/xmltv_parser/main.cs	2013/03/07 09:26:43	16
+++ trunk/xmltv_parser/main.cs	2013/03/07 11:08:48	23
@@ -17,7 +17,7 @@
             InitializeComponent();
             string log_path = Application.StartupPath;
             string log_filename = string.Format("{0}.log", typeof(main).Assembly.GetName().Name);
-            gLog.CreateLog(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All);            
+            gLog.CreateLog(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All);
         }
 
         private void main_Load(object sender, EventArgs e)
@@ -26,9 +26,10 @@
         }
         private void main_Shown(object sender, EventArgs e)
         {
-            gLog.Log.Debug.WriteLine("");
-            var xmltv = XMLTV.CreateLoader("20130307_continuum_schedule.xml");
-            //XMLTV.Test(xmltv);
+            var xmltv_loader = XMLTV.CreateLoader("20130307_continuum_schedule.xml");
+            var xmltv_parser = XMLTV.CreateParser(xmltv_loader);
+            var p = XMLTV.GetParser(xmltv_parser);
+            p.TestParse();
         }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22