Author: akhaldi
Date: Fri Dec 27 14:01:01 2013
New Revision: 61447
URL:
http://svn.reactos.org/svn/reactos?rev=61447&view=rev
Log:
[TAPI32]
* Create a main header and move some inclusions to it.
* Set the default debugging channel globally through the main header.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716
Added:
trunk/reactos/dll/win32/tapi32/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/tapi32/assisted.c
trunk/reactos/dll/win32/tapi32/internal.c
trunk/reactos/dll/win32/tapi32/line.c
trunk/reactos/dll/win32/tapi32/phone.c
Modified: trunk/reactos/dll/win32/tapi32/assisted.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/tapi32/assisted.…
==============================================================================
--- trunk/reactos/dll/win32/tapi32/assisted.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/tapi32/assisted.c [iso-8859-1] Fri Dec 27 14:01:01 2013
@@ -19,25 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#include <config.h>
-//#include "wine/port.h"
-
-//#include <stdarg.h>
-#include <stdio.h>
-#include <windef.h>
-#include <winbase.h>
-//#include "wingdi.h"
-#include <winreg.h>
-#include <objbase.h>
-#include <tapi.h>
-#include <wine/unicode.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(tapi);
+#include "precomp.h"
/***********************************************************************
* tapiGetLocationInfoW (TAPI32.@)
Modified: trunk/reactos/dll/win32/tapi32/internal.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/tapi32/internal.…
==============================================================================
--- trunk/reactos/dll/win32/tapi32/internal.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/tapi32/internal.c [iso-8859-1] Fri Dec 27 14:01:01 2013
@@ -18,21 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-//#include <string.h>
-//#include <stdlib.h>
-//#include <stdarg.h>
-//#include <stdio.h>
-//#include "windef.h"
-//#include "winbase.h"
-//#include "wingdi.h"
-//#include "winreg.h"
-//#include "winnls.h"
-//#include "winerror.h"
-//#include "objbase.h"
-//#include "tapi.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(tapi);
+#include "precomp.h"
/***********************************************************************
* internalConfig (TAPI32.@)
Modified: trunk/reactos/dll/win32/tapi32/line.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/tapi32/line.c?re…
==============================================================================
--- trunk/reactos/dll/win32/tapi32/line.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/tapi32/line.c [iso-8859-1] Fri Dec 27 14:01:01 2013
@@ -18,26 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-//#include <string.h>
-//#include <stdlib.h>
-#include <stdarg.h>
-//#include <stdio.h>
-#include <windef.h>
-#include <winbase.h>
-//#include "wingdi.h"
-#include <winreg.h>
-#include <winnls.h>
-//#include "winerror.h"
-#include <objbase.h>
-#include <tapi.h>
-#include <wine/debug.h>
-#include <wine/unicode.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(tapi);
+#include "precomp.h"
/* registry keys */
static const char szCountrylistKey[] =
Modified: trunk/reactos/dll/win32/tapi32/phone.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/tapi32/phone.c?r…
==============================================================================
--- trunk/reactos/dll/win32/tapi32/phone.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/tapi32/phone.c [iso-8859-1] Fri Dec 27 14:01:01 2013
@@ -18,17 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-#include <objbase.h>
-#include <tapi.h>
-#include <wine/debug.h>
+#include "precomp.h"
/*
* Additional TSPI functions:
@@ -38,7 +28,6 @@
* - TSPI_ProviderEnumDevices
* - TSPI_ProviderConfig
*/
-WINE_DEFAULT_DEBUG_CHANNEL(tapi);
/***********************************************************************
* phoneClose (TAPI32.@)
Added: trunk/reactos/dll/win32/tapi32/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/tapi32/precomp.h…
==============================================================================
--- trunk/reactos/dll/win32/tapi32/precomp.h (added)
+++ trunk/reactos/dll/win32/tapi32/precomp.h [iso-8859-1] Fri Dec 27 14:01:01 2013
@@ -0,0 +1,23 @@
+#ifndef _TAPI32_PCH_
+#define _TAPI32_PCH_
+
+#include <config.h>
+
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#include <windef.h>
+#include <winbase.h>
+#include <winreg.h>
+#include <objbase.h>
+#include <tapi.h>
+
+#include <wine/unicode.h>
+#include <wine/debug.h>
+
+WINE_DEFAULT_DEBUG_CHANNEL(tapi);
+
+#endif /* _TAPI32_PCH_ */
Propchange: trunk/reactos/dll/win32/tapi32/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native