Author: akhaldi
Date: Tue Jul 26 00:08:58 2011
New Revision: 52885
URL:
http://svn.reactos.org/svn/reactos?rev=52885&view=rev
Log:
[MAGNIFY]
* Designate magnifier.h as a precompiled header and use it as one.
Modified:
trunk/reactos/base/applications/magnify/CMakeLists.txt
trunk/reactos/base/applications/magnify/magnifier.c
trunk/reactos/base/applications/magnify/magnifier.h
trunk/reactos/base/applications/magnify/magnify.rbuild
trunk/reactos/base/applications/magnify/magnify.rc
trunk/reactos/base/applications/magnify/settings.c
Modified: trunk/reactos/base/applications/magnify/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/magnify/…
==============================================================================
--- trunk/reactos/base/applications/magnify/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/magnify/CMakeLists.txt [iso-8859-1] Tue Jul 26
00:08:58 2011
@@ -6,6 +6,7 @@
settings.c
magnify.rc)
+add_pch(magnify magnifier.h)
set_module_type(magnify win32gui)
add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt kernel32)
add_cd_file(TARGET magnify DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/magnify/magnifier.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/magnify/…
==============================================================================
--- trunk/reactos/base/applications/magnify/magnifier.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/magnify/magnifier.c [iso-8859-1] Tue Jul 26 00:08:58
2011
@@ -7,10 +7,7 @@
*
*/
-#include <windows.h>
-#include <shellapi.h>
#include "magnifier.h"
-#include "resource.h"
const TCHAR szWindowClass[] = TEXT("MAGNIFIER");
Modified: trunk/reactos/base/applications/magnify/magnifier.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/magnify/…
==============================================================================
--- trunk/reactos/base/applications/magnify/magnifier.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/magnify/magnifier.h [iso-8859-1] Tue Jul 26 00:08:58
2011
@@ -20,6 +20,12 @@
//////////////////////////////////////////////////////////////////
+#include <windows.h>
+#include <commctrl.h>
+#include <tchar.h>
+#include <shellapi.h>
+#include "resource.h"
+
extern int iZoom;
extern BOOL bShowWarning;
Modified: trunk/reactos/base/applications/magnify/magnify.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/magnify/…
==============================================================================
--- trunk/reactos/base/applications/magnify/magnify.rbuild [iso-8859-1] (original)
+++ trunk/reactos/base/applications/magnify/magnify.rbuild [iso-8859-1] Tue Jul 26
00:08:58 2011
@@ -9,4 +9,5 @@
<file>magnifier.c</file>
<file>settings.c</file>
<file>magnify.rc</file>
+ <pch>magnifier.h</pch>
</module>
Modified: trunk/reactos/base/applications/magnify/magnify.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/magnify/…
==============================================================================
--- trunk/reactos/base/applications/magnify/magnify.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/magnify/magnify.rc [iso-8859-1] Tue Jul 26 00:08:58
2011
@@ -1,6 +1,5 @@
-#include <windows.h>
-#include <commctrl.h>
-#include "resource.h"
+
+#include "magnifier.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
Modified: trunk/reactos/base/applications/magnify/settings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/magnify/…
==============================================================================
--- trunk/reactos/base/applications/magnify/settings.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/magnify/settings.c [iso-8859-1] Tue Jul 26 00:08:58
2011
@@ -1,5 +1,4 @@
-#include <windows.h>
-#include <tchar.h>
+
#include "magnifier.h"
int iZoom = 3;