[BROWSEUI/SHELLBARS] Add a PCH.

This commit is contained in:
Amine Khaldi 2017-12-09 20:46:40 +01:00
parent eafa77f30a
commit b3544fd00b
5 changed files with 16 additions and 17 deletions

View file

@ -20,7 +20,8 @@
*/
#include "shellbars.h"
#include <strsafe.h>
#include <browseui_undoc.h>
/* 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

View file

@ -7,11 +7,9 @@
*/
#include "shellbars.h"
#include <commoncontrols.h>
#include <strsafe.h>
#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
#include <commoncontrols.h>
#include <shellapi.h>
/*
TODO:

View file

@ -5,6 +5,7 @@
* PURPOSE: Quick Launch Toolbar (Taskbar Shell Extension)
* PROGRAMMERS: Shriraj Sawant a.k.a SR13 <sr.official@hotmail.com>
*/
#pragma once
class CISFBand :

View file

@ -1,3 +1,4 @@
PROJECT(SHELL)
set_cpp(WITH_RUNTIME)
@ -12,13 +13,15 @@ list(APPEND SOURCE
CBandSiteMenu.cpp
CBaseBar.cpp
CISFBand.cpp
CSHEnumClassesOfCategories.cpp)
CSHEnumClassesOfCategories.cpp
shellbars.h)
add_library(shellbars ${SOURCE})
add_dependencies(shellbars xdk)
target_link_libraries(shellbars atlnew)
if(NOT MSVC)
add_target_compile_flags(shellbars "-Wno-unused-but-set-variable")
endif()
add_pch(shellbars shellbars.h SOURCE)
target_link_libraries(shellbars atlnew)
add_dependencies(shellbars xdk)

View file

@ -7,10 +7,7 @@
#include <windef.h>
#include <winbase.h>
#include <wincon.h>
#include <wingdi.h>
#include <shlobj.h>
#include <shellapi.h>
#include <shlobj_undoc.h>
#include <shlguid_undoc.h>
#include <shdeprecated.h>
@ -19,13 +16,14 @@
#include <atlcom.h>
#include <atlwin.h>
#include <atlsimpcoll.h>
#include <undocuser.h>
#include <shlwapi.h>
#include <shlwapi_undoc.h>
#include <undocshell.h>
#include <shellutils.h>
#include <browseui_undoc.h>
#include <strsafe.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
#include "../resource.h"
@ -33,8 +31,6 @@
#include "CBandSiteMenu.h"
#include "CISFBand.h"
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
#define GET_X_LPARAM(lp) ((int)(short)LOWORD(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
#endif
#endif /* _BROWSEUI_PCH_ */
#endif /* _SHELLBARS_PCH_ */