Parent Directory
|
Revision Log
|
Patch
--- trunk/libxmltv/Core/XMLTVConstants.cs 2013/03/09 13:51:58 86 +++ trunk/libxmltv/Core/XMLTVConstants.cs 2013/03/09 14:52:10 88 @@ -7,9 +7,12 @@ { public static class XMLTVConstants { - public const string ROOT_ELEMENT = "tv"; - public const string CHANNEL_ELEMENT = "channel"; - public const string PROGRAM_ELEMENT = "programme"; + #region Root Constants + public static class Root + { + public const string RootElement = "tv"; + } + #endregion #region Source Constants public static class Source @@ -22,6 +25,7 @@ #region Channel Constants public static class Channels { + public const string RootElement = "channel"; public const string ChannelId = "id"; public const string ChannelDisplayName = "display-name"; } @@ -29,9 +33,10 @@ #region Program Constants public static class Programs { + public const string RootElement = "programme"; public const string ProgramStart = "start"; public const string ProgramStop = "stop"; - public const string ProgramChannelId = CHANNEL_ELEMENT; + public const string ProgramChannelId = XMLTVConstants.Channels.RootElement; public const string ProgramTitle = "title"; public const string ProgramSubTitle = "sub-title"; public const string ProgramDescription = "desc";
ViewVC Help | |
Powered by ViewVC 1.1.22 |