mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
enable PCH
svn path=/trunk/; revision=11065
This commit is contained in:
parent
dae8e69f8c
commit
1a541c9ebb
5 changed files with 49 additions and 46 deletions
|
@ -1,5 +1,6 @@
|
|||
*.coff
|
||||
*.cpl
|
||||
*.dll
|
||||
*.gch
|
||||
*.d
|
||||
*.a
|
||||
*.o
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.1 2004/09/26 09:56:23 weiden Exp $
|
||||
# $Id: Makefile,v 1.2 2004/09/26 10:43:00 weiden Exp $
|
||||
|
||||
PATH_TO_TOP = ../../..
|
||||
|
||||
|
@ -11,7 +11,6 @@ TARGET_INSTALLDIR = system32
|
|||
TARGET_BASE = 0x5C7E0000
|
||||
|
||||
TARGET_CFLAGS = \
|
||||
-I./include \
|
||||
-DUNICODE \
|
||||
-D_UNICODE \
|
||||
-D__REACTOS__ \
|
||||
|
@ -27,7 +26,7 @@ TARGET_SDKLIBS = kernel32.a advapi32.a user32.a gdi32.a wine_uuid.a ole32.a \
|
|||
|
||||
TARGET_GCCLIBS = gcc
|
||||
|
||||
TARGET_PCH =
|
||||
TARGET_PCH = precomp.h
|
||||
|
||||
TARGET_CLEAN =
|
||||
|
||||
|
|
15
reactos/lib/shellext/slayer/precomp.h
Normal file
15
reactos/lib/shellext/slayer/precomp.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#define INITGUID
|
||||
#include <windows.h>
|
||||
#include <commctrl.h>
|
||||
#include <shlobj.h>
|
||||
#include <tchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <objbase.h>
|
||||
#include <basetyps.h>
|
||||
#include <unknwn.h>
|
||||
#include "resource.h"
|
||||
#include "slayer.h"
|
||||
|
||||
/* EOF */
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: slayer.c,v 1.1 2004/09/26 09:56:23 weiden Exp $
|
||||
/* $Id: slayer.c,v 1.2 2004/09/26 10:43:00 weiden Exp $
|
||||
*
|
||||
* PROJECT: ReactOS Compatibility Layer Shell Extension
|
||||
* FILE: lib/shellext/cplsample/cplsample.c
|
||||
|
@ -25,19 +25,7 @@
|
|||
* UPDATE HISTORY:
|
||||
* 09/25/2004 Created
|
||||
*/
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#define INITGUID
|
||||
#include <windows.h>
|
||||
#include <commctrl.h>
|
||||
#include <shlobj.h>
|
||||
#include <tchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <objbase.h>
|
||||
#include <basetyps.h>
|
||||
#include <unknwn.h>
|
||||
#include "resource.h"
|
||||
#include "slayer.h"
|
||||
#include "precomp.h"
|
||||
|
||||
HINSTANCE hInstance = NULL;
|
||||
LONG dllrefs = 0;
|
||||
|
@ -46,6 +34,34 @@ LONG dllrefs = 0;
|
|||
DEFINE_SHLGUID(IID_IPropSheetPage, 0x000214F6L, 0, 0);
|
||||
DEFINE_SHLGUID(IID_IShellPropSheetExt, 0x000214E9L, 0, 0);
|
||||
|
||||
static ifaceICompatibilityPageVbtl efvt =
|
||||
{
|
||||
/* IUnknown methods */
|
||||
ICompatibilityPage_fnQueryInterface,
|
||||
ICompatibilityPage_fnAddRef,
|
||||
ICompatibilityPage_fnRelease,
|
||||
};
|
||||
|
||||
static ifaceIShellPropSheetExtVbtl efvtIShellPropSheetExt =
|
||||
{
|
||||
/* IShellPropSheetExt */
|
||||
ICompatibilityPage_fnAddPages,
|
||||
ICompatibilityPage_fnReplacePage,
|
||||
};
|
||||
|
||||
static ifaceIShellExtInitVbtl efvtIShellExtInit =
|
||||
{
|
||||
/* IShellExtInit */
|
||||
ICompatibilityPage_fnInitialize,
|
||||
};
|
||||
|
||||
static ifaceIClassFactoryVbtl efvtIClassFactory =
|
||||
{
|
||||
/* IClassFactory */
|
||||
ICompatibilityPage_fnCreateInstance,
|
||||
ICompatibilityPage_fnLockServer,
|
||||
};
|
||||
|
||||
/******************************************************************************
|
||||
ICompatibilityPage
|
||||
******************************************************************************/
|
||||
|
|
|
@ -121,34 +121,6 @@ HRESULT STDMETHODCALLTYPE ICompatibilityPage_fnLockServer(LPCOMPATIBILITYPAGE th
|
|||
BOOL fLock);
|
||||
|
||||
|
||||
static ifaceICompatibilityPageVbtl efvt =
|
||||
{
|
||||
/* IUnknown methods */
|
||||
ICompatibilityPage_fnQueryInterface,
|
||||
ICompatibilityPage_fnAddRef,
|
||||
ICompatibilityPage_fnRelease,
|
||||
};
|
||||
|
||||
static ifaceIShellPropSheetExtVbtl efvtIShellPropSheetExt =
|
||||
{
|
||||
/* IShellPropSheetExt */
|
||||
ICompatibilityPage_fnAddPages,
|
||||
ICompatibilityPage_fnReplacePage,
|
||||
};
|
||||
|
||||
static ifaceIShellExtInitVbtl efvtIShellExtInit =
|
||||
{
|
||||
/* IShellExtInit */
|
||||
ICompatibilityPage_fnInitialize,
|
||||
};
|
||||
|
||||
static ifaceIClassFactoryVbtl efvtIClassFactory =
|
||||
{
|
||||
/* IClassFactory */
|
||||
ICompatibilityPage_fnCreateInstance,
|
||||
ICompatibilityPage_fnLockServer,
|
||||
};
|
||||
|
||||
#endif /* __SLAYER_H */
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Reference in a new issue