steam-deck-tools/SteamController/Profiles/Profile.cs

22 lines
624 B
C#
Raw Normal View History

namespace SteamController.Profiles
{
public abstract class Profile
{
public struct Status
{
public static readonly Status Continue = new Status() { IsDone = false };
public static readonly Status Done = new Status() { IsDone = true };
public bool IsDone { get; set; }
}
2022-11-27 09:19:34 +01:00
public virtual String Name { get; set; } = "";
public virtual bool Visible { get; set; } = true;
public virtual bool IsDesktop { get; set; }
public abstract bool Selected(Context context);
public abstract Status Run(Context context);
}
}