forked from Montellese/xbmc-on-imon
-
Notifications
You must be signed in to change notification settings - Fork 5
/
XbmcHandler.ControlState.cs
50 lines (40 loc) · 1.11 KB
/
XbmcHandler.ControlState.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
namespace iMon.XBMC
{
internal partial class XbmcHandler
{
public struct ControlState
{
#region Private variables
string window;
string control;
#endregion
#region Public variables
public string Window
{
get { return this.window; }
set { this.window = value != null ? value : string.Empty; }
}
public string Control
{
get { return this.control; }
set { this.control = value != null ? value : string.Empty; }
}
#endregion
#region Constructor
public ControlState(string window, string control)
{
if (window == null)
{
window = string.Empty;
}
if (control == null)
{
control = string.Empty;
}
this.window = window;
this.control = control;
}
#endregion
}
}
}