Author: akhaldi
Date: Thu Jul 28 14:54:48 2011
New Revision: 52956
URL:
http://svn.reactos.org/svn/reactos?rev=52956&view=rev
Log:
[INTL]
* Use intl.h as a PCH.
Modified:
trunk/reactos/dll/cpl/intl/CMakeLists.txt
trunk/reactos/dll/cpl/intl/advanced.c
trunk/reactos/dll/cpl/intl/currency.c
trunk/reactos/dll/cpl/intl/date.c
trunk/reactos/dll/cpl/intl/generalp.c
trunk/reactos/dll/cpl/intl/inplocale.c
trunk/reactos/dll/cpl/intl/intl.c
trunk/reactos/dll/cpl/intl/intl.h
trunk/reactos/dll/cpl/intl/intl.rbuild
trunk/reactos/dll/cpl/intl/kblayouts.c
trunk/reactos/dll/cpl/intl/languages.c
trunk/reactos/dll/cpl/intl/misc.c
trunk/reactos/dll/cpl/intl/numbers.c
trunk/reactos/dll/cpl/intl/setupreg.c
trunk/reactos/dll/cpl/intl/sort.c
trunk/reactos/dll/cpl/intl/time.c
Modified: trunk/reactos/dll/cpl/intl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/CMakeLists.tx…
==============================================================================
--- trunk/reactos/dll/cpl/intl/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/CMakeLists.txt [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -30,4 +30,5 @@
shell32
kernel32)
+add_pch(intl intl.h)
add_cd_file(TARGET intl DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/cpl/intl/advanced.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/advanced.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/intl/advanced.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/advanced.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -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
{
Modified: trunk/reactos/dll/cpl/intl/currency.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/currency.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/intl/currency.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/currency.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -24,13 +24,7 @@
* 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")
Modified: trunk/reactos/dll/cpl/intl/date.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/date.c?rev=52…
==============================================================================
--- trunk/reactos/dll/cpl/intl/date.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/date.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -24,13 +24,7 @@
* PROGRAMMER: Eric Kohl
*/
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-
#include "intl.h"
-#include "resource.h"
/* GLOBALS ******************************************************************/
Modified: trunk/reactos/dll/cpl/intl/generalp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/generalp.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/intl/generalp.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/generalp.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -26,13 +26,7 @@
* 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
Modified: trunk/reactos/dll/cpl/intl/inplocale.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/inplocale.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/intl/inplocale.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/inplocale.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -24,14 +24,7 @@
* 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
Modified: trunk/reactos/dll/cpl/intl/intl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/intl.c?rev=52…
==============================================================================
--- trunk/reactos/dll/cpl/intl/intl.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/intl.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -23,15 +23,8 @@
* 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)
Modified: trunk/reactos/dll/cpl/intl/intl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/intl.h?rev=52…
==============================================================================
--- trunk/reactos/dll/cpl/intl/intl.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/intl.h [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -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 <cpl.h>
+#include "resource.h"
#define DECIMAL_RADIX 10
Modified: trunk/reactos/dll/cpl/intl/intl.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/intl.rbuild?r…
==============================================================================
--- trunk/reactos/dll/cpl/intl/intl.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/intl.rbuild [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -21,4 +21,5 @@
<file>advanced.c</file>
<file>sort.c</file>
<file>intl.rc</file>
+ <pch>intl.h</pch>
</module>
Modified: trunk/reactos/dll/cpl/intl/kblayouts.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/kblayouts.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/intl/kblayouts.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/kblayouts.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -5,13 +5,7 @@
* PROGRAMMER: Dmitry Chapyshev (dmitry(a)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
Modified: trunk/reactos/dll/cpl/intl/languages.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/languages.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/intl/languages.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/languages.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -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
Modified: trunk/reactos/dll/cpl/intl/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/misc.c?rev=52…
==============================================================================
--- trunk/reactos/dll/cpl/intl/misc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/misc.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -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
Modified: trunk/reactos/dll/cpl/intl/numbers.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/numbers.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/intl/numbers.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/numbers.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -24,13 +24,7 @@
* 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")
Modified: trunk/reactos/dll/cpl/intl/setupreg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/setupreg.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/intl/setupreg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/setupreg.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -8,13 +8,7 @@
/* INCLUDES *****************************************************************/
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-
#include "intl.h"
-#include "resource.h"
/* GLOBALS ******************************************************************/
Modified: trunk/reactos/dll/cpl/intl/sort.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/sort.c?rev=52…
==============================================================================
--- trunk/reactos/dll/cpl/intl/sort.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/sort.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -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;
Modified: trunk/reactos/dll/cpl/intl/time.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/time.c?rev=52…
==============================================================================
--- trunk/reactos/dll/cpl/intl/time.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/time.c [iso-8859-1] Thu Jul 28 14:54:48 2011
@@ -23,14 +23,7 @@
* 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;