Added getter and delegate for automatic profile switching

This commit is contained in:
Jordon Brooks 2024-05-15 21:31:08 +01:00
parent 16061e077b
commit 3f43bdb16b
Signed by: jordon
GPG key ID: DBD9758CD53E786A
2 changed files with 13 additions and 0 deletions

View file

@ -260,6 +260,12 @@ EProfile UHarmonyLinkGraphics::GetActiveProfile() const
void UHarmonyLinkGraphics::SetAutomaticSwitching(const bool bAutomaticSwitch)
{
_bAutomaticSwitch = bAutomaticSwitch;
OnAutomaticSwitchChanged.Broadcast(_bAutomaticSwitch);
}
bool UHarmonyLinkGraphics::GetAutomaticSwitching() const
{
return _bAutomaticSwitch;
}
void UHarmonyLinkGraphics::DestroySettings()