/[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:36:00	25
+++ trunk/libxmltv/Core/XMLTV_CONSTANTS.cs	2013/03/08 01:22:03	35
@@ -5,7 +5,7 @@
 
 namespace libxmltv.Core
 {
-    public static class XMLTV_CONSTANTS
+    internal static class XMLTV_CONSTANTS
     {
         public const string ROOT_ELEMENT = "tv";
         public const string CHANNEL_ELEMENT = "channel";
@@ -19,7 +19,23 @@
             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";
+            public const string ProgramStop = "stop";
+            public const string ProgramChannelId = CHANNEL_ELEMENT;
+            public const string ProgramTitle = "title";
+            public const string ProgramSubTitle = "sub-title";
+            public const string ProgramDescription = "desc";
+        }
+        #endregion
     }
 }
-
-

 

  ViewVC Help
Powered by ViewVC 1.1.22