2023-10-02 20:43:00 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS browseui
|
|
|
|
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
|
|
|
* PURPOSE: Settings header file
|
|
|
|
* COPYRIGHT: Copyright 2023 Carl Bialorucki <cbialo2@outlook.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "precomp.h"
|
|
|
|
|
|
|
|
#define BWM_SETTINGCHANGE (WM_USER + 300)
|
|
|
|
#define BWM_GETSETTINGSPTR (WM_USER + 301)
|
|
|
|
|
|
|
|
struct ShellSettings
|
|
|
|
{
|
2024-06-04 16:37:19 +00:00
|
|
|
BOOL fLocked = TRUE;
|
|
|
|
BOOL fShowGoButton = TRUE;
|
|
|
|
BOOL fStatusBarVisible = TRUE;
|
2023-10-02 20:43:00 +00:00
|
|
|
|
|
|
|
void Save();
|
|
|
|
void Load();
|
2024-06-04 16:37:19 +00:00
|
|
|
void Reset() { ShellSettings().Save(); }
|
2023-10-02 20:43:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct CabinetStateSettings : CABINETSTATE
|
|
|
|
{
|
|
|
|
BOOL fFullPathAddress = TRUE;
|
|
|
|
|
|
|
|
void Load();
|
|
|
|
};
|
|
|
|
|
|
|
|
extern CabinetStateSettings gCabinetState;
|