Author: akhaldi
Date: Tue Jan 7 16:27:45 2014
New Revision: 61556
URL:
http://svn.reactos.org/svn/reactos?rev=61556&view=rev
Log:
[MSPAINT]
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716
Modified:
trunk/reactos/base/applications/mspaint/dialogs.c
trunk/reactos/base/applications/mspaint/main.c
trunk/reactos/base/applications/mspaint/precomp.h
trunk/reactos/base/applications/mspaint/registry.c
trunk/reactos/base/applications/mspaint/winproc.c
Modified: trunk/reactos/base/applications/mspaint/dialogs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/dialogs.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/dialogs.c [iso-8859-1] Tue Jan 7 16:27:45
2014
@@ -9,6 +9,8 @@
/* INCLUDES *********************************************************/
#include "precomp.h"
+
+#include <winnls.h>
/* FUNCTIONS ********************************************************/
Modified: trunk/reactos/base/applications/mspaint/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/main.c [iso-8859-1] Tue Jan 7 16:27:45 2014
@@ -9,6 +9,12 @@
/* INCLUDES *********************************************************/
#include "precomp.h"
+
+#include "winproc.h"
+#include "palette.h"
+#include "toolsettings.h"
+#include "selection.h"
+#include "sizebox.h"
/* FUNCTIONS ********************************************************/
Modified: trunk/reactos/base/applications/mspaint/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/precomp.h [iso-8859-1] Tue Jan 7 16:27:45
2014
@@ -1,13 +1,11 @@
#include <stdarg.h>
+
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
-#include <winnls.h>
-#include <winreg.h>
#include <wingdi.h>
#include <windowsx.h>
#include <commdlg.h>
-#include <shellapi.h>
#include <commctrl.h>
#include <tchar.h>
#include <stdlib.h>
@@ -18,10 +16,3 @@
#include "globalvar.h"
#include "history.h"
#include "mouse.h"
-#include "winproc.h"
-#include "palette.h"
-#include "toolsettings.h"
-#include "selection.h"
-#include "sizebox.h"
-#include "dialogs.h"
-#include "registry.h"
Modified: trunk/reactos/base/applications/mspaint/registry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/registry.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/registry.c [iso-8859-1] Tue Jan 7 16:27:45
2014
@@ -9,6 +9,8 @@
/* INCLUDES *********************************************************/
#include "precomp.h"
+
+#include <winreg.h>
/* FUNCTIONS ********************************************************/
Modified: trunk/reactos/base/applications/mspaint/winproc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/winproc.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/winproc.c [iso-8859-1] Tue Jan 7 16:27:45
2014
@@ -9,8 +9,12 @@
/* INCLUDES *********************************************************/
-//#include <htmlhelp.h>
#include "precomp.h"
+
+#include <shellapi.h>
+
+#include "dialogs.h"
+#include "registry.h"
/* FUNCTIONS ********************************************************/