diff --git a/Assets/Templates/Settings.jsonc b/Assets/Templates/Settings.jsonc index 8cd0837..0cd7fa7 100644 --- a/Assets/Templates/Settings.jsonc +++ b/Assets/Templates/Settings.jsonc @@ -65,9 +65,5 @@ "_template" ], "MethodParamaterBlackList": [] - }, - "CrossCompiler": { - "LastLoadedProject": "", - "AutoLoadLastActiveProject": true } } \ No newline at end of file diff --git a/RecodeItLib/Models/AppSettingsModel.cs b/RecodeItLib/Models/AppSettingsModel.cs index a5f39a8..ab9121f 100644 --- a/RecodeItLib/Models/AppSettingsModel.cs +++ b/RecodeItLib/Models/AppSettingsModel.cs @@ -42,19 +42,7 @@ public class Settings Save(); } } - - private CrossCompilerSettings _crossCompiler; - - public CrossCompilerSettings CrossCompiler - { - get { return _crossCompiler; } - set - { - _crossCompiler = value; - Save(); - } - } - + private void Save() { DataProvider.SaveAppSettings(); @@ -338,47 +326,6 @@ public class AutoMapperSettings } } -/// -/// These are settings for the cross compiler module -/// -public class CrossCompilerSettings -{ - private string _lastLoadedProject; - - /// - /// Last Loaded Project Path - /// - public string LastLoadedProject - { - get { return _lastLoadedProject; } - set - { - _lastLoadedProject = value; - Save(); - } - } - - private bool _autoLoadLastActiveProj; - - /// - /// Should the last active project be auto loaded - /// - public bool AutoLoadLastActiveProject - { - get { return _autoLoadLastActiveProj; } - set - { - _autoLoadLastActiveProj = value; - Save(); - } - } - - private void Save() - { - DataProvider.SaveAppSettings(); - } -} - /// /// These are settings that all versions of the remappers use ///