Author: akhaldi
Date: Mon Jan 6 20:48:44 2014
New Revision: 61547
URL:
http://svn.reactos.org/svn/reactos?rev=61547&view=rev
Log:
[FONTVIEW]
* Create a main header and move some inclusions to it.
CORE-7716
Added:
trunk/reactos/base/applications/fontview/precomp.h (with props)
Modified:
trunk/reactos/base/applications/fontview/display.c
trunk/reactos/base/applications/fontview/display.h
trunk/reactos/base/applications/fontview/fontview.c
trunk/reactos/base/applications/fontview/fontview.h
Modified: trunk/reactos/base/applications/fontview/display.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
==============================================================================
--- trunk/reactos/base/applications/fontview/display.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/fontview/display.c [iso-8859-1] Mon Jan 6 20:48:44
2014
@@ -20,7 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "display.h"
+#include "precomp.h"
+
+#include <stdio.h>
+#include <malloc.h>
#define SPACING1 8
#define SPACING2 5
Modified: trunk/reactos/base/applications/fontview/display.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
==============================================================================
--- trunk/reactos/base/applications/fontview/display.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/fontview/display.h [iso-8859-1] Mon Jan 6 20:48:44
2014
@@ -1,12 +1,4 @@
#pragma once
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <windef.h>
-#include <winbase.h>
-#include <winuser.h>
-#include <wingdi.h>
-#include <commdlg.h>
/* Messages for the display class */
#define FVM_SETTYPEFACE WM_USER
Modified: trunk/reactos/base/applications/fontview/fontview.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
==============================================================================
--- trunk/reactos/base/applications/fontview/fontview.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/fontview/fontview.c [iso-8859-1] Mon Jan 6 20:48:44
2014
@@ -20,7 +20,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "precomp.h"
+
+#include <winnls.h>
+#include <shellapi.h>
+
#include "fontview.h"
+#include "resource.h"
HINSTANCE g_hInstance;
EXTLOGFONTW g_ExtLogFontW;
Modified: trunk/reactos/base/applications/fontview/fontview.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
==============================================================================
--- trunk/reactos/base/applications/fontview/fontview.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/fontview/fontview.h [iso-8859-1] Mon Jan 6 20:48:44
2014
@@ -1,11 +1,4 @@
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-#include <winnls.h>
-#include <shellapi.h>
-
-#include "resource.h"
-#include "display.h"
+#pragma once
#define MAX_LOADSTRING 50
#define MAX_BUTTONNAME 30
Added: trunk/reactos/base/applications/fontview/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
==============================================================================
--- trunk/reactos/base/applications/fontview/precomp.h (added)
+++ trunk/reactos/base/applications/fontview/precomp.h [iso-8859-1] Mon Jan 6 20:48:44
2014
@@ -0,0 +1,14 @@
+#ifndef _FONTVIEW_PCH_
+#define _FONTVIEW_PCH_
+
+#include <stdarg.h>
+
+#include <windef.h>
+#include <winbase.h>
+#include <wingdi.h>
+#include <winuser.h>
+#include <commdlg.h>
+
+#include "display.h"
+
+#endif /* _FONTVIEW_PCH_ */
Propchange: trunk/reactos/base/applications/fontview/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native