xref: /reactos/dll/win32/browseui/settings.h (revision c97c1ad4)
1 /*
2  * PROJECT:     ReactOS browseui
3  * LICENSE:     LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4  * PURPOSE:     Settings header file
5  * COPYRIGHT:   Copyright 2023 Carl Bialorucki <cbialo2@outlook.com>
6  */
7 
8 #include "precomp.h"
9 
10 #define BWM_SETTINGCHANGE  (WM_USER + 300)
11 #define BWM_GETSETTINGSPTR (WM_USER + 301)
12 
13 struct ShellSettings
14 {
15     BOOL fLocked = TRUE;
16     BOOL fShowGoButton = TRUE;
17     BOOL fStatusBarVisible = TRUE;
18 
19     void Save();
20     void Load();
ResetShellSettings21     void Reset() { ShellSettings().Save(); }
22 };
23 
24 struct CabinetStateSettings : CABINETSTATE
25 {
26     BOOL fFullPathAddress = TRUE;
27 
28     void Load();
29 };
30 
31 extern CabinetStateSettings gCabinetState;
32