ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/libxmltv/Core/XMLTV.cs
(Generate patch)

Comparing trunk/libxmltv/Core/XMLTV.cs (file contents):
Revision 22 by william, Thu Mar 7 10:20:50 2013 UTC vs.
Revision 23 by william, Thu Mar 7 11:08:48 2013 UTC

--- trunk/libxmltv/Core/XMLTV.cs	2013/03/07 10:20:50	22
+++ trunk/libxmltv/Core/XMLTV.cs	2013/03/07 11:08:48	23
@@ -22,5 +22,12 @@ namespace libxmltv.Core
             XMLTV_PARSER parser = new XMLTV_PARSER(xmltv);
             return parser;
         }
+
+        public static IXMLTV_PARSER GetParser(object xmltv)
+        {
+            IXMLTV_PARSER _xmltv;
+            if (!Internals.VerifyInstance<IXMLTV_PARSER>(xmltv, out _xmltv)) { return null; }
+            return _xmltv;
+        }
     }
 }