1 |
using System; |
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
|
6 |
namespace libxmltv.Core |
7 |
{ |
8 |
internal static class XMLTVConstants |
9 |
{ |
10 |
public const string ROOT_ELEMENT = "tv"; |
11 |
public const string CHANNEL_ELEMENT = "channel"; |
12 |
public const string PROGRAM_ELEMENT = "programme"; |
13 |
|
14 |
#region Source Constants |
15 |
public static class Source |
16 |
{ |
17 |
public const string SourceName = "source-info-name"; |
18 |
public const string GeneratorName = "generator-info-name"; |
19 |
public const string GeneratorUrl = "generator-info-url"; |
20 |
} |
21 |
#endregion |
22 |
#region Channel Constants |
23 |
public static class Channels |
24 |
{ |
25 |
public const string ChannelId = "id"; |
26 |
public const string ChannelDisplayName = "display-name"; |
27 |
} |
28 |
#endregion |
29 |
#region Program Constants |
30 |
public static class Programs |
31 |
{ |
32 |
public const string ProgramStart = "start"; |
33 |
public const string ProgramStop = "stop"; |
34 |
public const string ProgramChannelId = CHANNEL_ELEMENT; |
35 |
public const string ProgramTitle = "title"; |
36 |
public const string ProgramSubTitle = "sub-title"; |
37 |
public const string ProgramDescription = "desc"; |
38 |
} |
39 |
#endregion |
40 |
} |
41 |
} |