1 #ifndef GLOBALSETTINGS_HH
2 #define GLOBALSETTINGS_HH
11 class GlobalCommandController;
15 class ThrottleManager;
17 template <
class T>
class EnumSetting;
40 return *autoSaveSetting;
43 return *pauseOnLostFocusSetting;
46 return *umrCallBackSetting;
49 return *invalidPsgDirectionsSetting;
52 return * resampleSetting;
55 return *throttleManager;
60 virtual void update(
const Setting& setting);
64 std::unique_ptr<IntegerSetting> speedSetting;
65 std::unique_ptr<BooleanSetting> pauseSetting;
66 std::unique_ptr<BooleanSetting> powerSetting;
67 std::unique_ptr<BooleanSetting> autoSaveSetting;
68 std::unique_ptr<BooleanSetting> pauseOnLostFocusSetting;
69 std::unique_ptr<StringSetting> umrCallBackSetting;
70 std::unique_ptr<StringSetting> invalidPsgDirectionsSetting;
71 std::unique_ptr<EnumSetting<ResampledSoundDevice::ResampleType>> resampleSetting;
72 std::unique_ptr<ThrottleManager> throttleManager;