[MSCONFIG]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 6 Jan 2014 21:01:43 +0000 (21:01 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 6 Jan 2014 21:01:43 +0000 (21:01 +0000)
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716

svn path=/trunk/; revision=61552

reactos/base/applications/msconfig/freeldrpage.h
reactos/base/applications/msconfig/generalpage.h
reactos/base/applications/msconfig/msconfig.c
reactos/base/applications/msconfig/precomp.h
reactos/base/applications/msconfig/srvpage.c
reactos/base/applications/msconfig/srvpage.h
reactos/base/applications/msconfig/startuppage.h
reactos/base/applications/msconfig/systempage.c
reactos/base/applications/msconfig/systempage.h
reactos/base/applications/msconfig/toolspage.c
reactos/base/applications/msconfig/toolspage.h

index 23b046b..d640dd9 100644 (file)
@@ -5,4 +5,4 @@ extern HWND hFreeLdrPage;
 
 INT_PTR CALLBACK FreeLdrPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
-#endif
+#endif /* _FREELDRPAGE_H_ */
index 1955186..d575ec8 100644 (file)
@@ -5,4 +5,4 @@ extern HWND hGeneralPage;
 
 INT_PTR CALLBACK GeneralPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
-#endif
+#endif /* _GENERALPAGE_H_ */
index ceb8249..a57c212 100644 (file)
@@ -6,8 +6,16 @@
  * COPYRIGHT:   Copyright 2005-2006 Christoph von Wittich <Christoph@ApiViewer.de>
  *
  */
+
 #include "precomp.h"
 
+#include "toolspage.h"
+#include "srvpage.h"
+#include "startuppage.h"
+#include "freeldrpage.h"
+#include "systempage.h"
+#include "generalpage.h"
+
 HINSTANCE hInst = 0;
 
 HWND hMainWnd;                   /* Main Window */
index 7fb5e85..70af3be 100644 (file)
@@ -1,26 +1,19 @@
+#include <stdarg.h>
+
 #define WIN32_NO_STATUS
 #define _INC_WINDOWS
 #define COM_NO_WINDOWS_H
 #define NTOS_MODE_USER
-#include <stdarg.h>
+
 #include <windef.h>
 #include <winbase.h>
 #include <winreg.h>
-#include <winsvc.h>
-#include <winver.h>
 #include <tchar.h>
 #include <stdio.h>
-#include <shlwapi.h>
 #include <shlobj.h>
 
-#include "resource.h"
 #include "msconfig.h"
-#include "toolspage.h"
-#include "srvpage.h"
-#include "startuppage.h"
-#include "freeldrpage.h"
-#include "systempage.h"
-#include "generalpage.h"
+#include "resource.h"
 
 #define MAX_KEY_LENGTH 255
 #define MAX_VALUE_NAME 16383
index dfd9ee4..eb159b4 100644 (file)
@@ -9,6 +9,9 @@
 
 #include "precomp.h"
 
+#include <winsvc.h>
+#include <winver.h>
+
 HWND hServicesPage;
 HWND hServicesListCtrl;
 HWND hServicesDialog;
index db51a1b..b6f6365 100644 (file)
@@ -6,4 +6,4 @@ extern HWND hServicesListCtrl;
 
 INT_PTR CALLBACK ServicesPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
-#endif
+#endif /* _SVRPAGE_H_ */
index 54f85d1..4044e80 100644 (file)
@@ -6,4 +6,4 @@ extern HWND hStartupListCtrl;
 
 INT_PTR CALLBACK StartupPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
-#endif
+#endif /* _STARTUPPAGE_H_ */
index 248edfb..aad0b8c 100644 (file)
@@ -6,6 +6,7 @@
  * COPYRIGHT:   Copyright 2005-2006 Christoph von Wittich <Christoph@ApiViewer.de>
  *                        2011      Gregor Schneider <Gregor.Schneider@reactos.org>
  */
+
 #include "precomp.h"
 
 HWND hSystemPage;
index 1aa9dca..e5dee27 100644 (file)
@@ -5,4 +5,4 @@ extern HWND hSystemPage;
 
 INT_PTR CALLBACK SystemPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
-#endif
+#endif /* _SYSTEMPAGE_H_ */
index ab84b34..f9ac100 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "precomp.h"
 
+#include <shlwapi.h>
+
 HWND hToolsPage;
 HWND hToolsListCtrl;
 HWND hToolsDialog;
index 4ec1593..b2d296f 100644 (file)
@@ -6,4 +6,4 @@ extern HWND hToolsListCtrl;
 
 INT_PTR CALLBACK ToolsPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
-#endif
+#endif /* _TOOLSPAGE_H_ */