WingMan – Diff between revs 10 and 14
?pathlinks?
Rev 10 | Rev 14 | |||
---|---|---|---|---|
1 | using System.Collections.Generic; |
1 | using System.Collections.Generic; |
|
2 | using System.Xml.Serialization; |
2 | using System.Xml.Serialization; |
|
3 | |
3 | |
|
4 | namespace WingMan.MouseKey |
4 | namespace WingMan.Bindings |
|
5 | { |
5 | { |
|
6 | public class KeyBindingExchange |
6 | public class KeyBindingExchange |
|
7 | { |
7 | { |
|
8 | [XmlIgnore] public static readonly XmlSerializer XmlSerializer = |
8 | [XmlIgnore] public static readonly XmlSerializer XmlSerializer = |
|
9 | new XmlSerializer(typeof(KeyBindingExchange)); |
9 | new XmlSerializer(typeof(KeyBindingExchange)); |
|
10 | |
10 | |
|
11 | public KeyBindingExchange() |
11 | public KeyBindingExchange() |
|
12 | { |
12 | { |
|
13 | } |
13 | } |
|
14 | |
14 | |
|
15 | public KeyBindingExchange(string nick, List<KeyBinding> keyBindings) |
15 | public KeyBindingExchange(string nick, List<KeyBinding> keyBindings) |
|
16 | { |
16 | { |
|
17 | Nick = nick; |
17 | Nick = nick; |
|
18 | KeyBindings = keyBindings; |
18 | KeyBindings = keyBindings; |
|
19 | } |
19 | } |
|
20 | |
20 | |
|
21 | public string Nick { get; set; } |
21 | public string Nick { get; set; } |
|
22 | |
22 | |
|
23 | public List<KeyBinding> KeyBindings { get; set; } |
23 | public List<KeyBinding> KeyBindings { get; set; } |
|
24 | } |
24 | } |
|
25 | } |
25 | } |
|
26 | |
26 | |