/[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 06:39:56	51
+++ trunk/libxmltv/Interfaces/Interfaces.cs	2013/03/08 08:51:10	54
@@ -5,6 +5,7 @@
 using System.IO;
 using System.Xml.Linq;
 using libxmltv.Core;
+using System.ComponentModel;
 
 namespace libxmltv.Interfaces
 {
@@ -62,15 +63,28 @@
         T DeSerialize(Stream stream, out bool status);
     }
 
-    public interface IXMLTV<INTERFACE, CLASS> : IXMLTVSerializer<INTERFACE>
+    public interface IXMLTV<INTERFACE, CLASS> : IXMLTVSerializer<INTERFACE>, IDestroyInstance
         where CLASS : class,INTERFACE
     {
         IXMLTVSerializer<CLASS> CreateSerializer();
         INTERFACE GetInstance();
         //CLASS GetInternalInstance();
+        EventHandler<EventArgs> OnInstanceCreated { get; set; }
     }
     public interface ISerializer<T>
     {
         IXMLTVSerializer<T> Serializer { get; }
     }
+    public interface IDestroyInstance
+    {
+        void DestroyInstance();
+    }
+    public interface IGetCreatedInstanceEvent
+    {
+        EventHandler<EventArgs> GetOnInstanceCreated();
+    }
+    public interface ISetCreatedInstanceEvent
+    {
+        void SetOnInstanceCreated(EventHandler<EventArgs> event_instance);
+    }
 }
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22