/[xmltv_parser]/trunk/libxmltv/Interfaces/Interfaces.cs
ViewVC logotype

Diff of /trunk/libxmltv/Interfaces/Interfaces.cs

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

--- trunk/libxmltv/Interfaces/Interfaces.cs	2013/03/08 04:01:25	46
+++ trunk/libxmltv/Interfaces/Interfaces.cs	2013/03/08 05:20:12	49
@@ -11,7 +11,7 @@
     public interface IXMLTVLoader
     {
         FileInfo XmlFile { get; }
-        XDocument XmlDoc { get; }
+        string XmlDoc { get; }
     }
     public interface IXMLTVParser
     {
@@ -51,5 +51,15 @@
     public interface IXMLTVRuntimeInstance : IXMLTVLoader, IXMLTVParser 
     {
         //bool IsDisposing { get; }
+        //IXMLTVSerializer<IXMLTVRuntimeInstance> Serializer { get; }
     }
+
+    public interface IXMLTVSerializer<T>
+    {
+        bool Serialize(string file);
+        bool Serialize(Stream stream);
+        bool DeSerialize(string file, out T unpacked_data);
+        bool DeSerialize(Stream stream, out T unpacked_data);
+    }
+
 }
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22