/[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 51 by william, Fri Mar 8 06:39:56 2013 UTC revision 54 by william, Fri Mar 8 08:51:10 2013 UTC
# Line 5  using System.Text; Line 5  using System.Text;
5  using System.IO;  using System.IO;
6  using System.Xml.Linq;  using System.Xml.Linq;
7  using libxmltv.Core;  using libxmltv.Core;
8    using System.ComponentModel;
9    
10  namespace libxmltv.Interfaces  namespace libxmltv.Interfaces
11  {  {
# Line 62  namespace libxmltv.Interfaces Line 63  namespace libxmltv.Interfaces
63          T DeSerialize(Stream stream, out bool status);          T DeSerialize(Stream stream, out bool status);
64      }      }
65    
66      public interface IXMLTV<INTERFACE, CLASS> : IXMLTVSerializer<INTERFACE>      public interface IXMLTV<INTERFACE, CLASS> : IXMLTVSerializer<INTERFACE>, IDestroyInstance
67          where CLASS : class,INTERFACE          where CLASS : class,INTERFACE
68      {      {
69          IXMLTVSerializer<CLASS> CreateSerializer();          IXMLTVSerializer<CLASS> CreateSerializer();
70          INTERFACE GetInstance();          INTERFACE GetInstance();
71          //CLASS GetInternalInstance();          //CLASS GetInternalInstance();
72            EventHandler<EventArgs> OnInstanceCreated { get; set; }
73      }      }
74      public interface ISerializer<T>      public interface ISerializer<T>
75      {      {
76          IXMLTVSerializer<T> Serializer { get; }          IXMLTVSerializer<T> Serializer { get; }
77      }      }
78        public interface IDestroyInstance
79        {
80            void DestroyInstance();
81        }
82        public interface IGetCreatedInstanceEvent
83        {
84            EventHandler<EventArgs> GetOnInstanceCreated();
85        }
86        public interface ISetCreatedInstanceEvent
87        {
88            void SetOnInstanceCreated(EventHandler<EventArgs> event_instance);
89        }
90  }  }

Legend:
Removed from v.51  
changed lines
  Added in v.54

  ViewVC Help
Powered by ViewVC 1.1.22