mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[BROWSEUI/SHELLBARS] Add a PCH.
This commit is contained in:
parent
eafa77f30a
commit
b3544fd00b
5 changed files with 16 additions and 17 deletions
|
@ -20,7 +20,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "shellbars.h"
|
#include "shellbars.h"
|
||||||
#include <strsafe.h>
|
|
||||||
|
#include <browseui_undoc.h>
|
||||||
|
|
||||||
/* The menu consists of 3 parts. The first is loaded from the resources,
|
/* The menu consists of 3 parts. The first is loaded from the resources,
|
||||||
the second is populated with the classes of the CATID_DeskBand comcat
|
the second is populated with the classes of the CATID_DeskBand comcat
|
||||||
|
|
|
@ -7,11 +7,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "shellbars.h"
|
#include "shellbars.h"
|
||||||
#include <commoncontrols.h>
|
|
||||||
#include <strsafe.h>
|
|
||||||
|
|
||||||
#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
|
#include <commoncontrols.h>
|
||||||
#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
|
#include <shellapi.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
TODO:
|
TODO:
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
* PURPOSE: Quick Launch Toolbar (Taskbar Shell Extension)
|
* PURPOSE: Quick Launch Toolbar (Taskbar Shell Extension)
|
||||||
* PROGRAMMERS: Shriraj Sawant a.k.a SR13 <sr.official@hotmail.com>
|
* PROGRAMMERS: Shriraj Sawant a.k.a SR13 <sr.official@hotmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
class CISFBand :
|
class CISFBand :
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
PROJECT(SHELL)
|
PROJECT(SHELL)
|
||||||
|
|
||||||
set_cpp(WITH_RUNTIME)
|
set_cpp(WITH_RUNTIME)
|
||||||
|
@ -12,13 +13,15 @@ list(APPEND SOURCE
|
||||||
CBandSiteMenu.cpp
|
CBandSiteMenu.cpp
|
||||||
CBaseBar.cpp
|
CBaseBar.cpp
|
||||||
CISFBand.cpp
|
CISFBand.cpp
|
||||||
CSHEnumClassesOfCategories.cpp)
|
CSHEnumClassesOfCategories.cpp
|
||||||
|
shellbars.h)
|
||||||
|
|
||||||
add_library(shellbars ${SOURCE})
|
add_library(shellbars ${SOURCE})
|
||||||
add_dependencies(shellbars xdk)
|
|
||||||
|
|
||||||
target_link_libraries(shellbars atlnew)
|
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_target_compile_flags(shellbars "-Wno-unused-but-set-variable")
|
add_target_compile_flags(shellbars "-Wno-unused-but-set-variable")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_pch(shellbars shellbars.h SOURCE)
|
||||||
|
target_link_libraries(shellbars atlnew)
|
||||||
|
add_dependencies(shellbars xdk)
|
||||||
|
|
|
@ -7,10 +7,7 @@
|
||||||
|
|
||||||
#include <windef.h>
|
#include <windef.h>
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
#include <wincon.h>
|
|
||||||
#include <wingdi.h>
|
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
#include <shellapi.h>
|
|
||||||
#include <shlobj_undoc.h>
|
#include <shlobj_undoc.h>
|
||||||
#include <shlguid_undoc.h>
|
#include <shlguid_undoc.h>
|
||||||
#include <shdeprecated.h>
|
#include <shdeprecated.h>
|
||||||
|
@ -19,13 +16,14 @@
|
||||||
#include <atlcom.h>
|
#include <atlcom.h>
|
||||||
#include <atlwin.h>
|
#include <atlwin.h>
|
||||||
#include <atlsimpcoll.h>
|
#include <atlsimpcoll.h>
|
||||||
#include <undocuser.h>
|
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
#include <shlwapi_undoc.h>
|
#include <shlwapi_undoc.h>
|
||||||
#include <undocshell.h>
|
#include <undocshell.h>
|
||||||
#include <shellutils.h>
|
#include <shellutils.h>
|
||||||
#include <browseui_undoc.h>
|
#include <strsafe.h>
|
||||||
|
|
||||||
#include <wine/debug.h>
|
#include <wine/debug.h>
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
|
||||||
|
|
||||||
#include "../resource.h"
|
#include "../resource.h"
|
||||||
|
|
||||||
|
@ -33,8 +31,6 @@
|
||||||
#include "CBandSiteMenu.h"
|
#include "CBandSiteMenu.h"
|
||||||
#include "CISFBand.h"
|
#include "CISFBand.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
|
|
||||||
|
|
||||||
#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
|
#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
|
||||||
#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
|
#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
|
||||||
|
|
||||||
|
@ -46,4 +42,4 @@ WINE_DEFAULT_DEBUG_CHANNEL(browseui);
|
||||||
#define CISFBand_CreateInstance RSHELL_CISFBand_CreateInstance
|
#define CISFBand_CreateInstance RSHELL_CISFBand_CreateInstance
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _BROWSEUI_PCH_ */
|
#endif /* _SHELLBARS_PCH_ */
|
||||||
|
|
Loading…
Reference in a new issue