mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-30 14:34:09 +02:00
29 lines
856 B
C#
29 lines
856 B
C#
using TweetLib.Core.Systems.Configuration;
|
|
|
|
namespace TweetDuck.Configuration{
|
|
sealed class SystemConfig : BaseConfig{
|
|
|
|
// CONFIGURATION DATA
|
|
|
|
public bool _hardwareAcceleration = true;
|
|
|
|
public bool ClearCacheAutomatically { get; set; } = true;
|
|
public int ClearCacheThreshold { get; set; } = 250;
|
|
|
|
// SPECIAL PROPERTIES
|
|
|
|
public bool HardwareAcceleration{
|
|
get => _hardwareAcceleration;
|
|
set => UpdatePropertyWithRestartRequest(ref _hardwareAcceleration, value);
|
|
}
|
|
|
|
// END OF CONFIG
|
|
|
|
public SystemConfig(IConfigManager configManager) : base(configManager){}
|
|
|
|
protected override BaseConfig ConstructWithDefaults(IConfigManager configManager){
|
|
return new SystemConfig(configManager);
|
|
}
|
|
}
|
|
}
|