-
Notifications
You must be signed in to change notification settings - Fork 10
/
XbmcHandler.ControlState.cs
54 lines (43 loc) · 1.18 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
51
52
53
54
using System;
using System.Collections.Generic;
using System.Text;
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
}
}
}