ReactOS
0.4.16-dev-338-g34e76ad
settings.h
Go to the documentation of this file.
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
();
21
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
;
TRUE
#define TRUE
Definition:
types.h:120
gCabinetState
CabinetStateSettings gCabinetState
Definition:
settings.cpp:10
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
CABINETSTATE
Definition:
shlobj.h:2384
CabinetStateSettings
Definition:
settings.h:25
CabinetStateSettings::Load
void Load()
Definition:
settings.cpp:36
CabinetStateSettings::fFullPathAddress
BOOL fFullPathAddress
Definition:
settings.h:26
ShellSettings
Definition:
settings.h:14
ShellSettings::Save
void Save()
Definition:
settings.cpp:12
ShellSettings::Reset
void Reset()
Definition:
settings.h:21
ShellSettings::Load
void Load()
Definition:
settings.cpp:24
ShellSettings::fStatusBarVisible
BOOL fStatusBarVisible
Definition:
settings.h:17
ShellSettings::fLocked
BOOL fLocked
Definition:
settings.h:15
ShellSettings::fShowGoButton
BOOL fShowGoButton
Definition:
settings.h:16
precomp.h
dll
win32
browseui
settings.h
Generated on Wed Dec 11 2024 06:15:50 for ReactOS by
1.9.6