mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-01-07 00:59:58 +01:00
- 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
20 lines
506 B
C#
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);
|
|
}
|
|
}
|