5#include "../PreferencesModule.h"
7class GeneralModule :
public PreferencesModule
10 DECLARE_PREFERENCES_MODULE(GeneralModule)
13 virtual ~GeneralModule();
15 virtual const char* GetName()
const override {
return GetStaticName(); }
16 virtual const char* GetParentPath()
const override {
return GetStaticParentPath(); }
17 virtual void Render()
override;
22 bool GetAutoSave()
const {
return mAutoSave; }
23 int GetRecentProjectsLimit()
const {
return mRecentProjectsLimit; }
24 bool GetShowWelcomeScreen()
const {
return mShowWelcomeScreen; }
25 bool GetShowDebugInEditor()
const {
return mShowDebugInEditor; }
26 bool GetShowDebugLogsInBuild()
const {
return mShowDebugLogsInBuild; }
27 bool GetCheckBuildDepsOnStartup()
const {
return mCheckBuildDepsOnStartup; }
28 void SetCheckBuildDepsOnStartup(
bool value);
31 bool mAutoSave =
true;
32 int mRecentProjectsLimit = 10;
33 bool mShowWelcomeScreen =
true;
34 bool mShowDebugInEditor =
true;
35 bool mShowDebugLogsInBuild =
true;
36 bool mCheckBuildDepsOnStartup =
true;
Definition JsonHelpers.h:15