Author: akhaldi
Date: Sun Jan 19 10:33:36 2014
New Revision: 61696
URL:
http://svn.reactos.org/svn/reactos?rev=61696&view=rev
Log:
[MAIN]
* 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/main/main.h
trunk/reactos/dll/cpl/main/mouse.c
Modified: trunk/reactos/dll/cpl/main/main.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/main.h?rev=61…
==============================================================================
--- trunk/reactos/dll/cpl/main/main.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/main/main.h [iso-8859-1] Sun Jan 19 10:33:36 2014
@@ -1,16 +1,14 @@
+#include <stdarg.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 <winuser.h>
#include <wincon.h>
-#include <commdlg.h>
-#include <cplext.h>
-#include <tchar.h>
#include <devguid.h>
#include <shlobj.h>
#include <cpl.h>
Modified: trunk/reactos/dll/cpl/main/mouse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/mouse.c?rev=6…
==============================================================================
--- trunk/reactos/dll/cpl/main/mouse.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/main/mouse.c [iso-8859-1] Sun Jan 19 10:33:36 2014
@@ -29,6 +29,10 @@
#include "main.h"
+#include <commdlg.h>
+#include <cplext.h>
+#include <tchar.h>
+
#define DEFAULT_DOUBLE_CLICK_SPEED 500
#define DEFAULT_CLICK_LOCK_TIME 2200
#define DEFAULT_MOUSE_SPEED 10