Author: akhaldi
Date: Mon Jul 25 23:06:48 2011
New Revision: 52879
URL:
http://svn.reactos.org/svn/reactos?rev=52879&view=rev
Log:
[AUDIOSRV]
* Designate audiosrv.h as a precompiled header and use it as one.
Modified:
trunk/reactos/base/services/audiosrv/CMakeLists.txt
trunk/reactos/base/services/audiosrv/audiosrv.h
trunk/reactos/base/services/audiosrv/audiosrv.rbuild
trunk/reactos/base/services/audiosrv/debug.c
trunk/reactos/base/services/audiosrv/main.c
trunk/reactos/base/services/audiosrv/pnp.c
trunk/reactos/base/services/audiosrv/pnp_list_lock.c
trunk/reactos/base/services/audiosrv/pnp_list_manager.c
trunk/reactos/base/services/audiosrv/services.c
Modified: trunk/reactos/base/services/audiosrv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/CMa…
==============================================================================
--- trunk/reactos/base/services/audiosrv/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/CMakeLists.txt [iso-8859-1] Mon Jul 25 23:06:48
2011
@@ -11,5 +11,6 @@
audiosrv.rc)
set_module_type(audiosrv win32cui)
+add_pch(audiosrv audiosrv.h)
add_importlibs(audiosrv advapi32 user32 setupapi msvcrt kernel32)
add_cd_file(TARGET audiosrv DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/services/audiosrv/audiosrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/aud…
==============================================================================
--- trunk/reactos/base/services/audiosrv/audiosrv.h [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/audiosrv.h [iso-8859-1] Mon Jul 25 23:06:48 2011
@@ -6,6 +6,15 @@
* COPYRIGHT: Copyright 2007 Andrew Greenwood
*/
+#include <windows.h>
+#include <assert.h>
+#include <winuser.h>
+#include <setupapi.h>
+#include <ks.h>
+#include <ksmedia.h>
+#include <stdio.h>
+#include <stdarg.h>
+#include <stdlib.h>
#include <dbt.h>
#include <audiosrv/audiosrv.h>
Modified: trunk/reactos/base/services/audiosrv/audiosrv.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/aud…
==============================================================================
--- trunk/reactos/base/services/audiosrv/audiosrv.rbuild [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/audiosrv.rbuild [iso-8859-1] Mon Jul 25 23:06:48
2011
@@ -12,4 +12,5 @@
<file>services.c</file>
<file>debug.c</file>
<file>audiosrv.rc</file>
+ <pch>audiosrv.h</pch>
</module>
Modified: trunk/reactos/base/services/audiosrv/debug.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/deb…
==============================================================================
--- trunk/reactos/base/services/audiosrv/debug.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/debug.c [iso-8859-1] Mon Jul 25 23:06:48 2011
@@ -1,8 +1,6 @@
/* Service debugging (simply logs to a file) */
-#include <stdio.h>
-#include <stdarg.h>
-#include <windows.h>
+#include "audiosrv.h"
void logmsg(char* string, ...)
{
Modified: trunk/reactos/base/services/audiosrv/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/mai…
==============================================================================
--- trunk/reactos/base/services/audiosrv/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/main.c [iso-8859-1] Mon Jul 25 23:06:48 2011
@@ -6,9 +6,6 @@
* COPYRIGHT: Copyright 2007 Andrew Greenwood
*/
-#include <windows.h>
-
-#include <audiosrv/audiosrv.h>
#include "audiosrv.h"
SERVICE_STATUS_HANDLE service_status_handle;
Modified: trunk/reactos/base/services/audiosrv/pnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/pnp…
==============================================================================
--- trunk/reactos/base/services/audiosrv/pnp.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/pnp.c [iso-8859-1] Mon Jul 25 23:06:48 2011
@@ -6,15 +6,6 @@
* COPYRIGHT: Copyright 2007 Andrew Greenwood
*/
-#include <windows.h>
-#include <winuser.h>
-#include <dbt.h>
-#include <setupapi.h>
-
-#include <ks.h>
-#include <ksmedia.h>
-
-#include <audiosrv/audiosrv.h>
#include "audiosrv.h"
static HDEVNOTIFY device_notification_handle = NULL;
Modified: trunk/reactos/base/services/audiosrv/pnp_list_lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/pnp…
==============================================================================
--- trunk/reactos/base/services/audiosrv/pnp_list_lock.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/pnp_list_lock.c [iso-8859-1] Mon Jul 25 23:06:48
2011
@@ -6,9 +6,7 @@
* COPYRIGHT: Copyright 2007 Andrew Greenwood
*/
-#include <windows.h>
-#include <assert.h>
-#include <audiosrv/audiosrv.h>
+#include "audiosrv.h"
static HANDLE audio_device_list_lock = NULL;
Modified: trunk/reactos/base/services/audiosrv/pnp_list_manager.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/pnp…
==============================================================================
--- trunk/reactos/base/services/audiosrv/pnp_list_manager.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/pnp_list_manager.c [iso-8859-1] Mon Jul 25
23:06:48 2011
@@ -6,9 +6,6 @@
* COPYRIGHT: Copyright 2007 Andrew Greenwood
*/
-#include <assert.h>
-#include <stdlib.h>
-#include <audiosrv/audiosrv.h>
#include "audiosrv.h"
Modified: trunk/reactos/base/services/audiosrv/services.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/ser…
==============================================================================
--- trunk/reactos/base/services/audiosrv/services.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/services.c [iso-8859-1] Mon Jul 25 23:06:48 2011
@@ -6,15 +6,6 @@
* COPYRIGHT: Copyright 2009 Johannes Anderwald
*/
-#include <windows.h>
-#include <winuser.h>
-#include <dbt.h>
-#include <setupapi.h>
-
-#include <ks.h>
-#include <ksmedia.h>
-
-#include <audiosrv/audiosrv.h>
#include "audiosrv.h"
BOOL