steam-deck-tools/SteamController/Profiles/Profile.cs
Kamil Trzciński ab5bc370df Introduce inheritable Profiles and Managers
- There's always a single Profile choosen
- There are many Managers changing settings
  depending on environment
- Improve and re-use mappings between profiles
- Introduce Steam Profile to be used when
  in Steam Big Picture or Steam Game
2022-11-26 10:19:50 +01:00

20 lines
506 B
C#

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; }
}
public String Name { get; set; } = "";
public abstract bool Selected(Context context);
public abstract Status Run(Context context);
}
}