[INTL]
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 28 Jul 2011 14:54:48 +0000 (14:54 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 28 Jul 2011 14:54:48 +0000 (14:54 +0000)
* Use intl.h as a PCH.

svn path=/trunk/; revision=52956

16 files changed:
reactos/dll/cpl/intl/CMakeLists.txt
reactos/dll/cpl/intl/advanced.c
reactos/dll/cpl/intl/currency.c
reactos/dll/cpl/intl/date.c
reactos/dll/cpl/intl/generalp.c
reactos/dll/cpl/intl/inplocale.c
reactos/dll/cpl/intl/intl.c
reactos/dll/cpl/intl/intl.h
reactos/dll/cpl/intl/intl.rbuild
reactos/dll/cpl/intl/kblayouts.c
reactos/dll/cpl/intl/languages.c
reactos/dll/cpl/intl/misc.c
reactos/dll/cpl/intl/numbers.c
reactos/dll/cpl/intl/setupreg.c
reactos/dll/cpl/intl/sort.c
reactos/dll/cpl/intl/time.c

index a1f1aa5..7af2bd2 100644 (file)
@@ -30,4 +30,5 @@ add_importlibs(intl
     shell32
     kernel32)
 
+add_pch(intl intl.h)
 add_cd_file(TARGET intl DESTINATION reactos/system32 FOR all)
index 2196e76..22c5a11 100644 (file)
@@ -1,13 +1,5 @@
-#include <windows.h>
-#include <commctrl.h>
-#include <setupapi.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <tchar.h>
-#include <cpl.h>
 
 #include "intl.h"
-#include "resource.h"
 
 typedef struct CPStruct
 {
index b355640..74df951 100644 (file)
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-
 #include "intl.h"
-#include "resource.h"
 
 #define POSITIVE_EXAMPLE   _T("123456789.00")
 #define NEGATIVE_EXAMPLE   _T("-123456789.00")
index b92d4c2..ff7468f 100644 (file)
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-
 #include "intl.h"
-#include "resource.h"
 
 /* GLOBALS ******************************************************************/
 
index f1e9324..9cbe5d0 100644 (file)
  *                  Aleksey Bragin
  */
 
-#include <windows.h>
-#include <commctrl.h>
-#include <tchar.h>
-#include <stdio.h>
-
 #include "intl.h"
-#include "resource.h"
 
 #define SAMPLE_NUMBER   _T("123456789")
 #define NO_FLAG         0
index e80e1f9..785cf90 100644 (file)
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <windows.h>
-#include <commctrl.h>
-#include <prsht.h>
-#include <cpl.h>
-
 #include "intl.h"
-#include "resource.h"
-
 
 /* Property page dialog callback */
 INT_PTR CALLBACK
index 1f08495..d3dc375 100644 (file)
  * PURPOSE:         Property sheet code
  * PROGRAMMER:      Eric Kohl
  */
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <setupapi.h>
-#include <tchar.h>
 
 #include "intl.h"
-#include "resource.h"
-
 
 #define NUM_APPLETS    (1)
 
index 12de475..20dbbba 100644 (file)
@@ -1,6 +1,14 @@
-#pragma once
-
+#include <windows.h>
 #include <cpl.h>
+#include <commctrl.h>
+#include <setupapi.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <tchar.h>
+#include <prsht.h>
+#include <malloc.h>
+
+#include "resource.h"
 
 #define DECIMAL_RADIX          10
 
index 631c895..49f6c68 100644 (file)
@@ -21,4 +21,5 @@
        <file>advanced.c</file>
        <file>sort.c</file>
        <file>intl.rc</file>
+       <pch>intl.h</pch>
 </module>
index 34335b9..d1a8f98 100644 (file)
@@ -5,13 +5,7 @@
  * PROGRAMMER:      Dmitry Chapyshev (dmitry@reactos.org)
  */
 
-#include <windows.h>
-#include <setupapi.h>
-#include <tchar.h>
-#include <stdio.h>
-
 #include "intl.h"
-#include "resource.h"
 
 /* Character Count of a layout ID like "00000409" */
 #define CCH_LAYOUT_ID    8
index 17dba22..1ae36d9 100644 (file)
@@ -1,10 +1,5 @@
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
 
 #include "intl.h"
-#include "resource.h"
 
 /* Property page dialog callback */
 INT_PTR CALLBACK
index 7a9be0e..bd5d5de 100644 (file)
@@ -1,10 +1,5 @@
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
 
 #include "intl.h"
-#include "resource.h"
 
 #define NUM_SHEETS           4
 
index 75f609b..3169879 100644 (file)
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-
 #include "intl.h"
-#include "resource.h"
 
 #define SAMPLE_NUMBER               _T("123456789")
 #define SAMPLE_NEG_NUMBER           _T("-123456789")
index ae85e94..b9c464b 100644 (file)
@@ -8,13 +8,7 @@
 
 /* INCLUDES *****************************************************************/
 
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-
 #include "intl.h"
-#include "resource.h"
 
 /* GLOBALS ******************************************************************/
 
index aec3695..dc99a40 100644 (file)
@@ -6,13 +6,7 @@
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-
 #include "intl.h"
-#include "resource.h"
 
 static BOOL bSortPage = FALSE;
 static LCID userLcid;
index ca21d69..7156363 100644 (file)
  * PROGRAMMER:      Eric Kohl
  */
 
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-#include <malloc.h>
-
 #include "intl.h"
-#include "resource.h"
 
 static HWND hwndEnum = NULL;