Commit in reactos/lib/shellext/slayer on MAIN
precomp.h+15added 1.1
.cvsignore+2-11.1 -> 1.2
Makefile+2-31.1 -> 1.2
slayer.c+30-141.1 -> 1.2
slayer.h-281.1 -> 1.2
+49-46
1 added + 4 modified, total 5 files
enable PCH

reactos/lib/shellext/slayer
precomp.h added at 1.1
diff -N precomp.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ precomp.h	26 Sep 2004 10:43:00 -0000	1.1
@@ -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 */

reactos/lib/shellext/slayer
.cvsignore 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	26 Sep 2004 09:56:23 -0000	1.1
+++ .cvsignore	26 Sep 2004 10:43:00 -0000	1.2
@@ -1,5 +1,6 @@
 *.coff
-*.cpl
+*.dll
+*.gch
 *.d
 *.a
 *.o

reactos/lib/shellext/slayer
Makefile 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- Makefile	26 Sep 2004 09:56:23 -0000	1.1
+++ Makefile	26 Sep 2004 10:43:00 -0000	1.2
@@ -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_BASE = 0x5C7E0000
 
 TARGET_CFLAGS = \
- -I./include \
  -DUNICODE \
  -D_UNICODE \
  -D__REACTOS__ \
@@ -27,7 +26,7 @@
 
 TARGET_GCCLIBS = gcc
 
-TARGET_PCH = 
+TARGET_PCH = precomp.h
 
 TARGET_CLEAN = 
 

reactos/lib/shellext/slayer
slayer.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- slayer.c	26 Sep 2004 09:56:23 -0000	1.1
+++ slayer.c	26 Sep 2004 10:43:00 -0000	1.2
@@ -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 @@
 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
  ******************************************************************************/

reactos/lib/shellext/slayer
slayer.h 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- slayer.h	26 Sep 2004 09:56:23 -0000	1.1
+++ slayer.h	26 Sep 2004 10:43:00 -0000	1.2
@@ -121,34 +121,6 @@
                                                           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 */
CVSspam 0.2.8