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

revision 44 by william, Fri Mar 8 03:36:44 2013 UTC revision 50 by william, Fri Mar 8 06:15:44 2013 UTC
# Line 8  using libxmltv.Core; Line 8  using libxmltv.Core;
8    
9  namespace libxmltv.Interfaces  namespace libxmltv.Interfaces
10  {  {
11      public interface IXMLTVLoader : IDisposable      public interface IXMLTVLoader
12      {      {
13          FileInfo XmlFile { get; }          FileInfo XmlFile { get; }
14          XDocument XmlDoc { get; }          string XmlDoc { get; }
15      }      }
16      public interface IXMLTVParser : IDisposable      public interface IXMLTVParser
17      {      {
18          //IXMLTV_LOADER XMLTV_LOADER { get; }          //IXMLTV_LOADER XMLTV_LOADER { get; }
19          //void TestParse();          //void TestParse();
# Line 48  namespace libxmltv.Interfaces Line 48  namespace libxmltv.Interfaces
48          string Description { get; }          string Description { get; }
49          string ToString();          string ToString();
50      }      }
51      public interface IXMLTVRuntimeInstance : IXMLTVLoader, IXMLTVParser, IDisposable      public interface IXMLTVRuntimeInstance : IXMLTVLoader, IXMLTVParser
52      {      {
53          bool IsDisposing { get; }          //bool IsDisposing { get; }
54            //IXMLTVSerializer<IXMLTVRuntimeInstance> Serializer { get; }
55        }
56    
57        public interface IXMLTVSerializer<T>
58        {
59            bool Serialize(string file);
60            bool Serialize(Stream stream);
61            T DeSerialize(string file, out bool status);
62            T DeSerialize(Stream stream, out bool status);
63        }
64    
65        public interface IXMLTV<INTERFACE, CLASS> : IXMLTVSerializer<INTERFACE>
66            where CLASS : class,INTERFACE
67        {
68            //IXMLTVSerializer<CLASS> CreateSerializer();
69            INTERFACE GetInstance();
70            //CLASS GetInternalInstance();
71      }      }
72  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.22