Author: akhaldi
Date: Sun Jan 19 10:39:14 2014
New Revision: 61699
URL:
http://svn.reactos.org/svn/reactos?rev=61699&view=rev
Log:
[SYSDM]
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716
Modified:
trunk/reactos/dll/cpl/sysdm/environment.c
trunk/reactos/dll/cpl/sysdm/general.c
trunk/reactos/dll/cpl/sysdm/hardprof.c
trunk/reactos/dll/cpl/sysdm/precomp.h
trunk/reactos/dll/cpl/sysdm/startrec.c
trunk/reactos/dll/cpl/sysdm/sysdm.c
trunk/reactos/dll/cpl/sysdm/userprofile.c
Modified: trunk/reactos/dll/cpl/sysdm/environment.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/environment.…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/environment.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/environment.c [iso-8859-1] Sun Jan 19 10:39:14 2014
@@ -8,7 +8,6 @@
*/
#include "precomp.h"
-
typedef struct _VARIABLE_DATA
{
Modified: trunk/reactos/dll/cpl/sysdm/general.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/general.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/general.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/general.c [iso-8859-1] Sun Jan 19 10:39:14 2014
@@ -9,8 +9,10 @@
*
*/
-
#include "precomp.h"
+
+#include <winnls.h>
+#include <powrprof.h>
#define ANIM_STEP 2
#define ANIM_TIME 50
Modified: trunk/reactos/dll/cpl/sysdm/hardprof.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/hardprof.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] Sun Jan 19 10:39:14 2014
@@ -8,6 +8,7 @@
*/
#include "precomp.h"
+
#include <debug.h>
typedef struct _PROFILE
Modified: trunk/reactos/dll/cpl/sysdm/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/precomp.h?re…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/precomp.h [iso-8859-1] Sun Jan 19 10:39:14 2014
@@ -1,25 +1,21 @@
#ifndef __CPL_PRECOMP_H
#define __CPL_PRECOMP_H
+#include <stdarg.h>
+
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
#include <ntstatus.h>
#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <wingdi.h>
-#include <winnls.h>
#include <wincon.h>
-#include <powrprof.h>
#include <tchar.h>
-#include <cpl.h>
#include <shellapi.h>
-#include <shlwapi.h>
#include <shlobj.h>
-#include <regstr.h>
-#include <setupapi.h>
#include "resource.h"
Modified: trunk/reactos/dll/cpl/sysdm/startrec.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/startrec.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/startrec.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/startrec.c [iso-8859-1] Sun Jan 19 10:39:14 2014
@@ -9,6 +9,9 @@
*/
#include "precomp.h"
+
+#include <shlwapi.h>
+#include <setupapi.h>
typedef struct _STARTINFO
{
Modified: trunk/reactos/dll/cpl/sysdm/sysdm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/sysdm.c?rev=…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/sysdm.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/sysdm.c [iso-8859-1] Sun Jan 19 10:39:14 2014
@@ -8,6 +8,9 @@
*/
#include "precomp.h"
+
+#include <cpl.h>
+#include <regstr.h>
LONG CALLBACK SystemApplet(VOID);
HINSTANCE hApplet = 0;
Modified: trunk/reactos/dll/cpl/sysdm/userprofile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/userprofile.…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/userprofile.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/userprofile.c [iso-8859-1] Sun Jan 19 10:39:14 2014
@@ -9,7 +9,6 @@
*/
#include "precomp.h"
-
static VOID
SetListViewColumns(HWND hwndListView)