/[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/10 15:54:52	113
+++ trunk/libxmltv/Interfaces/Interfaces.cs	2013/03/10 17:10:47	117
@@ -23,14 +23,14 @@
     //    Dictionary<int, IXMLTVProgram> Programs { get; }
     //}
 
-    public interface IXMLTVSource
+    internal interface IXMLTVSource
     {
         string SourceName { get; }
         string GeneratorName { get; }
         string GeneratorUrl { get; }
         string ToString();
     }
-    public interface IXMLTVChannel
+    internal interface IXMLTVChannel
     {
         string Id { get; }
         //int Number { get; }
@@ -39,28 +39,28 @@
         PropertyList MetaData { get; }
         string ToString();
     }
-    public interface IXMLTVProgram
+    internal interface IXMLTVProgram
     {
         PropertyDictionary MetaData { get; }
         List<IExtraMetaData> GetExtraMetaData();
     }
-    
-    public interface IExtraMetaData : IExtraMetaData<string, string> { }
-    public interface IExtraMetaData<TKey, TValue> : IPropertyValuePair<TKey, TValue> 
+
+    internal interface IExtraMetaData : IExtraMetaData<string, string> { }
+    internal interface IExtraMetaData<TKey, TValue> : IPropertyValuePair<TKey, TValue> 
     {
         XElement AsXElement();
     }
-    public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }
-    public interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }
-    public interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }
-    public interface IXMLTVListCollection<TValue> { List<TValue> Collection { get; } }
+    internal interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }
+    internal interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }
+    internal interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }
+    internal interface IXMLTVListCollection<TValue> { List<TValue> Collection { get; } }
 
-    public interface IXMLTVHandler : IXMLTVHandler<object> { }
-    public interface IXMLTVHandler<T> { T Handler { get; } }
+    internal interface IXMLTVHandler : IXMLTVHandler<object> { }
+    internal interface IXMLTVHandler<T> { T Handler { get; } }
 
     //public interface IXMLTVBase : IXMLTVBase<object> { }
-    public interface IXMLTVBase<T> : IGetInstance<T>, IXMLTVHandler { }
-    public interface IXMLTVRuntimeInstance : IOnInstanceCreated
+    internal interface IXMLTVBase<T> : IGetInstance<T>, IXMLTVHandler { }
+    internal interface IXMLTVRuntimeInstance : IOnInstanceCreated
     {
         bool IsAborting { get; } 
         //FileInfo XmlFile { get; }
@@ -72,39 +72,42 @@
         List<IXMLTVProgram> Programs { get; }
         List<IExtraMetaData> ExtraEntries { get; }
     }
-    public interface IXMLTVSerializer : IXMLTVSerializer<object> { }
-    public interface IXMLTVSerializer<T>
+    internal interface IXMLTVSerializer : IXMLTVSerializer<object> { }
+    internal interface IXMLTVSerializer<T>
     {
         bool Serialize(string file);
         bool Serialize(Stream stream);
         T DeSerialize(string file, out bool status);
         T DeSerialize(Stream stream, out bool status);
     }
-    public interface IXMLTV<INTERFACE, CLASS> : IXMLTV<INTERFACE, CLASS, EventArgs> where CLASS : class,INTERFACE { }
-    public interface IXMLTV<INTERFACE, CLASS, INSTANCECREATED_EVENTAGS> : IXMLTVSerializer<INTERFACE>, IDestroyInstance, IOnInstanceCreated, IGetInstance<INTERFACE>
+    internal interface IXMLTV<INTERFACE, CLASS> : IXMLTV<INTERFACE, CLASS, EventArgs> where CLASS : class,INTERFACE { }
+    internal interface IXMLTV<INTERFACE, CLASS, INSTANCECREATED_EVENTAGS> : IXMLTVSerializer<INTERFACE>, IDestroyInstance, IOnInstanceCreated, IGetInstance<INTERFACE>, ISetInstance<INTERFACE>
         where CLASS : class,INTERFACE
         where INSTANCECREATED_EVENTAGS : EventArgs { }
 
-    public interface IInstance : IInstance<object> { }
-    public interface IInstance<T> { T Instance { get; set; } }
-    public interface ICreateSerializer : ICreateSerializer<object> { }
-    public interface ICreateSerializer<CLASS> { IXMLTVSerializer<CLASS> CreateSerializer(); }
+    internal interface IInstance : IInstance<object> { }
+    internal interface IInstance<T> { T Instance { get; set; } }
+    internal interface ICreateSerializer : ICreateSerializer<object> { }
+    internal interface ICreateSerializer<CLASS> { IXMLTVSerializer<CLASS> CreateSerializer(); }
 
     //public interface IGetInstanceT : IGetInstanceT<object> { }
     //public interface IGetInstanceT<T> { T GetInstance<T>();  }
-    public interface IGetInstance : IGetInstance<object> { }
-    public interface IGetInstance<T> { T GetInstance();    }
+    internal interface IGetInstance : IGetInstance<object> { }
+    internal interface IGetInstance<T> { T GetInstance();    }
+
+    internal interface ISetInstance : ISetInstance<object> { }
+    internal interface ISetInstance<T> { void SetInstance(T instance);    }
 
-    public interface IOnInstanceCreated : IOnInstanceCreated<EventArgs> { }
-    public interface IOnInstanceCreated<T> where T : EventArgs { EventHandler<T> OnInstanceCreated { get; set; } }
-    public interface ISerializer<T> { IXMLTVSerializer<T> Serializer { get; } }
-    public interface IDestroyInstance { void DestroyInstance();    }
-    public interface IGetCreatedInstanceEvent : IGetCreatedInstanceEvent<EventArgs> { }
-    public interface IGetCreatedInstanceEvent<T> where T : EventArgs { EventHandler<T> GetOnInstanceCreated();    }
-    public interface ISetCreatedInstanceEvent : ISetCreatedInstanceEvent<EventArgs> { }
-    public interface ISetCreatedInstanceEvent<T> where T : EventArgs { void SetOnInstanceCreated(EventHandler<T> event_instance);    }
-    public interface IRuntimeInstanceLoader : IRuntimeInstanceLoader<object> { }
-    public interface IRuntimeInstanceLoader<T> { T LoadFromInstance(T instance);    }
+    internal interface IOnInstanceCreated : IOnInstanceCreated<EventArgs> { }
+    internal interface IOnInstanceCreated<T> where T : EventArgs { EventHandler<T> OnInstanceCreated { get; set; } }
+    internal interface ISerializer<T> { IXMLTVSerializer<T> Serializer { get; } }
+    internal interface IDestroyInstance { void DestroyInstance();    }
+    internal interface IGetCreatedInstanceEvent : IGetCreatedInstanceEvent<EventArgs> { }
+    internal interface IGetCreatedInstanceEvent<T> where T : EventArgs { EventHandler<T> GetOnInstanceCreated();    }
+    internal interface ISetCreatedInstanceEvent : ISetCreatedInstanceEvent<EventArgs> { }
+    internal interface ISetCreatedInstanceEvent<T> where T : EventArgs { void SetOnInstanceCreated(EventHandler<T> event_instance);    }
+    internal interface IRuntimeInstanceLoader : IRuntimeInstanceLoader<object> { }
+    internal interface IRuntimeInstanceLoader<T> { T LoadFromInstance(T instance);    }
 
 
 #region Property Dictionary support

 

  ViewVC Help
Powered by ViewVC 1.1.22