drumkit-old/DrumKit/Domain/AppSettings.cs

30 lines
664 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace DrumKit
{
[XmlType("drumkitSettings")]
public class AppSettings
{
[XmlElement("currentKit")]
public string CurrentKit { get; set; }
[XmlElement("showKeys")]
public bool ShowKeyBindings { get; set; }
[XmlElement("animations")]
public bool Animations { get; set; }
public AppSettings()
{
this.CurrentKit = "Default";
this.ShowKeyBindings = false;
this.Animations = true;
}
}
}