https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c4a412a2b9fd77807ad75ab4ad9337c008a850f4

commit c4a412a2b9fd77807ad75ab4ad9337c008a850f4
Author: Amine Khaldi <[email protected]>
AuthorDate: Sat Dec 9 13:40:23 2017 +0100

    [ACPPAGE] Make use of the PCH.
---
 dll/shellext/acppage/CLayerStringList.hpp |  1 +
 dll/shellext/acppage/CLayerUIPropPage.hpp |  2 ++
 dll/shellext/acppage/CMakeLists.txt       | 12 ++++++------
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/dll/shellext/acppage/CLayerStringList.hpp 
b/dll/shellext/acppage/CLayerStringList.hpp
index e1b253d707..204ec40f52 100644
--- a/dll/shellext/acppage/CLayerStringList.hpp
+++ b/dll/shellext/acppage/CLayerStringList.hpp
@@ -5,6 +5,7 @@
  * COPYRIGHT:   Copyright 2015-2017 Mark Jansen ([email protected])
  */
 
+#pragma once
 
 /* TODO: Use HSDB instead of PDB */
 class CLayerStringList :
diff --git a/dll/shellext/acppage/CLayerUIPropPage.hpp 
b/dll/shellext/acppage/CLayerUIPropPage.hpp
index ac4886d33a..c65a914d86 100644
--- a/dll/shellext/acppage/CLayerUIPropPage.hpp
+++ b/dll/shellext/acppage/CLayerUIPropPage.hpp
@@ -5,6 +5,8 @@
  * COPYRIGHT:   Copyright 2015-2017 Mark Jansen ([email protected])
  */
 
+#pragma once
+
 class CLayerUIPropPage :
     public CPropertyPageImpl<CLayerUIPropPage>,
     public CComCoClass<CLayerUIPropPage, &CLSID_CLayerUIPropPage>,
diff --git a/dll/shellext/acppage/CMakeLists.txt 
b/dll/shellext/acppage/CMakeLists.txt
index cfab164551..1c4c729691 100644
--- a/dll/shellext/acppage/CMakeLists.txt
+++ b/dll/shellext/acppage/CMakeLists.txt
@@ -1,3 +1,4 @@
+
 project(appcompat)
 
 set_cpp(WITH_RUNTIME)
@@ -18,15 +19,15 @@ spec2def(acppage.dll acppage.spec ADD_IMPORTLIB)
 list(APPEND SOURCE
     ACPPage.cpp
     CLayerUIPropPage.cpp
-    CLayerUIPropPage.hpp
-    CLayerStringList.hpp
-    acppage.spec
-    precomp.h
-    resource.h)
+    precomp.h)
 
 add_library(acppage SHARED
     ${SOURCE}
+    acppage.spec
     ACPPage.rc
+    CLayerUIPropPage.hpp
+    CLayerStringList.hpp
+    resource.h
     ${CMAKE_CURRENT_BINARY_DIR}/acppage.def)
 
 set_module_type(acppage win32dll UNICODE)
@@ -35,4 +36,3 @@ add_delay_importlibs(acppage apphelp ole32 oleaut32 shlwapi 
comctl32 sfc_os)
 add_importlibs(acppage shell32 user32 advapi32 msvcrt kernel32)
 add_pch(acppage precomp.h SOURCE)
 add_cd_file(TARGET acppage DESTINATION reactos/system32 FOR all)
-

Reply via email to