/[xmltv_parser]/trunk/libxmltv/Core/XMLTVConstants.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVConstants.cs

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

--- trunk/libxmltv/Core/XMLTV_CONSTANTS.cs	2013/03/07 11:08:48	23
+++ trunk/libxmltv/Core/XMLTV_CONSTANTS.cs	2013/03/07 12:11:41	27
@@ -5,11 +5,32 @@
 
 namespace libxmltv.Core
 {
-    public class XMLTV_CONSTANTS
+    public static class XMLTV_CONSTANTS
     {
         public const string ROOT_ELEMENT = "tv";
         public const string CHANNEL_ELEMENT = "channel";
         public const string PROGRAM_ELEMENT = "programme";
-    }
-}
 
+        #region Source Constants
+        public static class Source
+        {
+            public const string SourceName = "source-info-name";
+            public const string GeneratorName = "generator-info-name";
+            public const string GeneratorUrl = "generator-info-url";
+        }
+        #endregion
+        #region Channel Constants
+        public static class Channels
+        {
+            public const string ChannelId = "id";
+            public const string ChannelDisplayName = "display-name";
+        }
+        #endregion
+        #region Program Constants
+        public static class Programs
+        {
+            public const string ProgramStart = "start";
+        }
+        #endregion
+    }
+}
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22