Author: akhaldi
Date: Thu Jul 28 14:56:00 2011
New Revision: 52958
URL:
http://svn.reactos.org/svn/reactos?rev=52958&view=rev
Log:
[MMSYS]
* Use mmsys.h as a PCH.
Modified:
trunk/reactos/dll/cpl/mmsys/CMakeLists.txt
trunk/reactos/dll/cpl/mmsys/audio.c
trunk/reactos/dll/cpl/mmsys/mmsys.c
trunk/reactos/dll/cpl/mmsys/mmsys.h
trunk/reactos/dll/cpl/mmsys/mmsys.rbuild
trunk/reactos/dll/cpl/mmsys/sounds.c
trunk/reactos/dll/cpl/mmsys/voice.c
trunk/reactos/dll/cpl/mmsys/volume.c
Modified: trunk/reactos/dll/cpl/mmsys/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/CMakeLists.t…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/CMakeLists.txt [iso-8859-1] Thu Jul 28 14:56:00 2011
@@ -29,4 +29,5 @@
ntdll
kernel32)
+add_pch(mmsys mmsys.h)
add_cd_file(TARGET mmsys DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/cpl/mmsys/audio.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/audio.c?rev=…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/audio.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/audio.c [iso-8859-1] Thu Jul 28 14:56:00 2011
@@ -8,14 +8,7 @@
* Dmitry Chapyshev <dmitry(a)reactos.org>
*/
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-#include <stdio.h>
#include "mmsys.h"
-#include "resource.h"
-
VOID
InitAudioDlg(HWND hwnd)
Modified: trunk/reactos/dll/cpl/mmsys/mmsys.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/mmsys.c?rev=…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/mmsys.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/mmsys.c [iso-8859-1] Thu Jul 28 14:56:00 2011
@@ -9,19 +9,7 @@
* 2005/11/23 Created
*/
-#include <windows.h>
-#include <commctrl.h>
-#include <initguid.h>
-#include <cfgmgr32.h>
-#include <setupapi.h>
-#include <devguid.h>
-#include <cpl.h>
-#include <tchar.h>
-#include <debug.h>
-#include <shlwapi.h>
-
#include "mmsys.h"
-#include "resource.h"
typedef enum
{
Modified: trunk/reactos/dll/cpl/mmsys/mmsys.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/mmsys.h?rev=…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/mmsys.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/mmsys.h [iso-8859-1] Thu Jul 28 14:56:00 2011
@@ -1,4 +1,16 @@
-#pragma once
+#include <windows.h>
+#include <commctrl.h>
+#include <cpl.h>
+#include <tchar.h>
+#include <stdio.h>
+#include <initguid.h>
+#include <cfgmgr32.h>
+#include <setupapi.h>
+#include <devguid.h>
+#include <debug.h>
+#include <shlwapi.h>
+
+#include "resource.h"
//typedef LONG (CALLBACK *APPLET_PROC)(VOID);
Modified: trunk/reactos/dll/cpl/mmsys/mmsys.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/mmsys.rbuild…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/mmsys.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/mmsys.rbuild [iso-8859-1] Thu Jul 28 14:56:00 2011
@@ -18,4 +18,5 @@
<file>audio.c</file>
<file>voice.c</file>
<file>mmsys.rc</file>
+ <pch>mmsys.h</pch>
</module>
Modified: trunk/reactos/dll/cpl/mmsys/sounds.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/sounds.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/sounds.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/sounds.c [iso-8859-1] Thu Jul 28 14:56:00 2011
@@ -8,15 +8,7 @@
* Dmitry Chapyshev <dmitry(a)reactos.org>
*/
-#include <windows.h>
-#include <commctrl.h>
-#include <setupapi.h>
-#include <cpl.h>
-#include <tchar.h>
-#include <stdio.h>
#include "mmsys.h"
-#include "resource.h"
-#include <debug.h>
struct __APP_MAP__;
Modified: trunk/reactos/dll/cpl/mmsys/voice.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/voice.c?rev=…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/voice.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/voice.c [iso-8859-1] Thu Jul 28 14:56:00 2011
@@ -8,13 +8,7 @@
* Dmitry Chapyshev <dmitry(a)reactos.org>
*/
-#include <windows.h>
-#include <commctrl.h>
-#include <cpl.h>
-#include <tchar.h>
-#include <stdio.h>
#include "mmsys.h"
-#include "resource.h"
/* Voice property page dialog callback */
INT_PTR CALLBACK
Modified: trunk/reactos/dll/cpl/mmsys/volume.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/volume.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/volume.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/volume.c [iso-8859-1] Thu Jul 28 14:56:00 2011
@@ -8,14 +8,7 @@
* Dmitry Chapyshev <dmitry(a)reactos.org>
*/
-#include <windows.h>
-#include <commctrl.h>
-#include <setupapi.h>
-#include <cpl.h>
-#include <tchar.h>
-#include <stdio.h>
#include "mmsys.h"
-#include "resource.h"
#define VOLUME_DIVIDER 0xFFF