mirror of
https://github.com/reactos/reactos.git
synced 2024-10-18 15:07:43 +00:00
43b3dc2034
This works similarly to how our shell stores its settings from a software design standpoint. - Add settings.cpp file and ShellSettings structure to load and save settings. - Add a registry value to hivedef.inf for the locked toolbar state. This prevents a bug where the associated registry key cannot be opened or saved to. - Add new BWM_SETTINGCHANGE window message to refresh the UI on setting changes and send it to every open window when saving settings to the registry. - Add new BWM_GETSETTINGSPTR window message to share the shellbrowser settings structure pointer with child windows and toolbars.
83 lines
1.7 KiB
C
83 lines
1.7 KiB
C
#ifndef _BROWSEUI_PCH_
|
|
#define _BROWSEUI_PCH_
|
|
|
|
#include <stdarg.h>
|
|
|
|
#define WIN32_NO_STATUS
|
|
#define _INC_WINDOWS
|
|
#define COM_NO_WINDOWS_H
|
|
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <wincon.h>
|
|
#include <wingdi.h>
|
|
#include <winnetwk.h>
|
|
#include <shlobj.h>
|
|
#include <tlogstg.h>
|
|
#include <shellapi.h>
|
|
#include <shlobj_undoc.h>
|
|
#include <shlguid_undoc.h>
|
|
#include <shdeprecated.h>
|
|
#include <tchar.h>
|
|
#include <atlbase.h>
|
|
#include <atlcom.h>
|
|
#include <atlwin.h>
|
|
#include <atlsimpcoll.h>
|
|
#include <atlstr.h>
|
|
#include <undocuser.h>
|
|
#include <perhist.h>
|
|
#include <exdispid.h>
|
|
#include <strsafe.h>
|
|
#include <shlwapi.h>
|
|
#include <shlwapi_undoc.h>
|
|
#include <undocshell.h>
|
|
#include <shellutils.h>
|
|
#include <browseui_undoc.h>
|
|
#include <wine/debug.h>
|
|
|
|
#include "resource.h"
|
|
|
|
#define BWM_SETTINGCHANGE (WM_USER + 300)
|
|
#define BWM_GETSETTINGSPTR (WM_USER + 301)
|
|
struct ShellSettings;
|
|
|
|
#include "ACLCustomMRU.h"
|
|
#include "aclhistory.h"
|
|
#include "aclistisf.h"
|
|
#include "aclmulti.h"
|
|
#include "addressband.h"
|
|
#include "addresseditbox.h"
|
|
#include "CAutoComplete.h"
|
|
#include "bandproxy.h"
|
|
#include "shellbars/CBandSite.h"
|
|
#include "shellbars/CBandSiteMenu.h"
|
|
#include "shellbars/CISFBand.h"
|
|
#include "shellfind/CFindFolder.h"
|
|
#include "shellfind/CSearchBar.h"
|
|
#include "brandband.h"
|
|
#include "internettoolbar.h"
|
|
#include "commonbrowser.h"
|
|
#include "globalfoldersettings.h"
|
|
#include "regtreeoptions.h"
|
|
#include "CShellTaskScheduler.h"
|
|
#include "CTaskbarList.h"
|
|
#include "explorerband.h"
|
|
#include "CProgressDialog.h"
|
|
#include "CUserAssist.h"
|
|
#include "browseui.h"
|
|
#include <stdio.h>
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
|
|
|
|
struct ShellSettings
|
|
{
|
|
BOOL fLocked = FALSE;
|
|
BOOL fShowGoButton = FALSE;
|
|
BOOL fStatusBarVisible = FALSE;
|
|
|
|
BOOL Save();
|
|
BOOL Load();
|
|
};
|
|
|
|
#endif /* _BROWSEUI_PCH_ */
|