Author: akhaldi
Date: Thu Jul 28 15:11:55 2011
New Revision: 52971
URL:
http://svn.reactos.org/svn/reactos?rev=52971&view=rev
Log:
[FONTEXT]
* Use fontext.h as a PCH.
Modified:
trunk/reactos/dll/shellext/fontext/CMakeLists.txt
trunk/reactos/dll/shellext/fontext/fontext.h
trunk/reactos/dll/shellext/fontext/fontext.rbuild
trunk/reactos/dll/shellext/fontext/regsvr.c
Modified: trunk/reactos/dll/shellext/fontext/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/CMake…
==============================================================================
--- trunk/reactos/dll/shellext/fontext/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/shellext/fontext/CMakeLists.txt [iso-8859-1] Thu Jul 28 15:11:55
2011
@@ -25,4 +25,5 @@
kernel32
ntdll)
+add_pch(fontext fontext.h)
add_cd_file(TARGET fontext DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/shellext/fontext/fontext.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fonte…
==============================================================================
--- trunk/reactos/dll/shellext/fontext/fontext.h [iso-8859-1] (original)
+++ trunk/reactos/dll/shellext/fontext/fontext.h [iso-8859-1] Thu Jul 28 15:11:55 2011
@@ -1,9 +1,7 @@
-#pragma once
-
#define COBJMACROS
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <shlobj.h>
-
+#include <ole2.h>
#include <debug.h>
Modified: trunk/reactos/dll/shellext/fontext/fontext.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fonte…
==============================================================================
--- trunk/reactos/dll/shellext/fontext/fontext.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/shellext/fontext/fontext.rbuild [iso-8859-1] Thu Jul 28 15:11:55
2011
@@ -13,4 +13,5 @@
<file>fontext.c</file>
<file>regsvr.c</file>
<file>fontext.rc</file>
+ <pch>fontext.h</pch>
</module>
Modified: trunk/reactos/dll/shellext/fontext/regsvr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/regsv…
==============================================================================
--- trunk/reactos/dll/shellext/fontext/regsvr.c [iso-8859-1] (original)
+++ trunk/reactos/dll/shellext/fontext/regsvr.c [iso-8859-1] Thu Jul 28 15:11:55 2011
@@ -8,10 +8,7 @@
* 10-06-2008 Created
*/
-#include <windows.h>
-#include <ole2.h>
-
-#include <fontext.h>
+#include "fontext.h"
static HRESULT
REGSVR_RegisterServer()