Author: akhaldi
Date: Thu Jul 28 14:51:51 2011
New Revision: 52954
URL:
http://svn.reactos.org/svn/reactos?rev=52954&view=rev
Log:
[DESK]
* Use desk.h as a PCH.
Modified:
trunk/reactos/dll/cpl/desk/CMakeLists.txt
trunk/reactos/dll/cpl/desk/advappdlg.c
trunk/reactos/dll/cpl/desk/appearance.c
trunk/reactos/dll/cpl/desk/desk.c
trunk/reactos/dll/cpl/desk/desk.h
trunk/reactos/dll/cpl/desk/desk.rbuild
trunk/reactos/dll/cpl/desk/devsett.c
trunk/reactos/dll/cpl/desk/draw.c
trunk/reactos/dll/cpl/desk/effappdlg.c
trunk/reactos/dll/cpl/desk/monslctl.c
trunk/reactos/dll/cpl/desk/preview.c
trunk/reactos/dll/cpl/desk/settings.c
trunk/reactos/dll/cpl/desk/theme.c
Modified: trunk/reactos/dll/cpl/desk/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/CMakeLists.tx…
==============================================================================
--- trunk/reactos/dll/cpl/desk/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/CMakeLists.txt [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -45,4 +45,5 @@
kernel32
ntdll)
+add_pch(desk desk.h)
add_cd_file(TARGET desk DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/cpl/desk/advappdlg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/advappdlg.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/desk/advappdlg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/advappdlg.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -10,9 +10,6 @@
*/
#include "desk.h"
-#include "theme.h"
-#include "appearance.h"
-#include "preview.h"
/******************************************************************************/
Modified: trunk/reactos/dll/cpl/desk/appearance.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/appearance.c?…
==============================================================================
--- trunk/reactos/dll/cpl/desk/appearance.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/appearance.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -9,9 +9,6 @@
*/
#include "desk.h"
-#include "theme.h"
-#include "preview.h"
-#include "appearance.h"
/******************************************************************************/
Modified: trunk/reactos/dll/cpl/desk/desk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/desk.c?rev=52…
==============================================================================
--- trunk/reactos/dll/cpl/desk/desk.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/desk.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -9,7 +9,6 @@
*/
#include "desk.h"
-#include "preview.h"
#define NUM_APPLETS (1)
Modified: trunk/reactos/dll/cpl/desk/desk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/desk.h?rev=52…
==============================================================================
--- trunk/reactos/dll/cpl/desk/desk.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/desk.h [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -1,5 +1,3 @@
-#pragma once
-
#define COBJMACROS
#include <windows.h>
#include <commctrl.h>
@@ -12,6 +10,13 @@
#include <regstr.h>
#include <cplext.h>
#include <dll/desk/deskcplx.h>
+#include <cfgmgr32.h>
+
+#include "theme.h"
+#include "appearance.h"
+#include "preview.h"
+#include "draw.h"
+#include "monslctl.h"
#include "resource.h"
Modified: trunk/reactos/dll/cpl/desk/desk.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/desk.rbuild?r…
==============================================================================
--- trunk/reactos/dll/cpl/desk/desk.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/desk.rbuild [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -33,4 +33,5 @@
<file>desk.rc</file>
<file>draw.c</file>
<file>theme.c</file>
+ <pch>desk.h</pch>
</module>
Modified: trunk/reactos/dll/cpl/desk/devsett.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/devsett.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/desk/devsett.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/devsett.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -6,8 +6,6 @@
*/
#include "desk.h"
-
-#include <cfgmgr32.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/dll/cpl/desk/draw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/draw.c?rev=52…
==============================================================================
--- trunk/reactos/dll/cpl/desk/draw.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/draw.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -8,8 +8,6 @@
*/
#include "desk.h"
-#include "theme.h"
-#include "draw.h"
#define MENU_BAR_ITEMS_SPACE (12)
Modified: trunk/reactos/dll/cpl/desk/effappdlg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/effappdlg.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/desk/effappdlg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/effappdlg.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -9,8 +9,6 @@
*/
#include "desk.h"
-#include "theme.h"
-#include "appearance.h"
/* Update all the controls with the current values for the selected screen element */
static VOID
Modified: trunk/reactos/dll/cpl/desk/monslctl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/monslctl.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/desk/monslctl.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/monslctl.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -1,7 +1,5 @@
-#include <windows.h>
-#include <tchar.h>
-#include <stdio.h>
-#include "monslctl.h"
+
+#include "desk.h"
static const TCHAR szMonitorSelWndClass[] = TEXT("MONITORSELWNDCLASS");
Modified: trunk/reactos/dll/cpl/desk/preview.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/preview.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/desk/preview.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/preview.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -7,9 +7,6 @@
*/
#include "desk.h"
-#include "theme.h"
-#include "preview.h"
-#include "draw.h"
static const TCHAR szPreviewWndClass[] = TEXT("PreviewWndClass");
Modified: trunk/reactos/dll/cpl/desk/settings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/settings.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/desk/settings.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/settings.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -9,7 +9,6 @@
*/
#include "desk.h"
-#include "monslctl.h"
typedef struct _DATA
{
Modified: trunk/reactos/dll/cpl/desk/theme.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/theme.c?rev=5…
==============================================================================
--- trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] Thu Jul 28 14:51:51 2011
@@ -8,7 +8,6 @@
*/
#include "desk.h"
-#include "theme.h"
static BOOL g_PresetLoaded = FALSE;
static INT g_TemplateCount = 0;