[4/7] Add d3d10_private.h header

Kovács András andras at csevego.net
Tue Jun 12 17:15:15 CDT 2007


[4/7] Add d3d10_private.h header
-- 
----------------------------
Kovács András (andras)
NetClub Vezető Rendszergazda
Lamarr
csevego.net
andras at csevego.net
----------------------------
-------------- next part --------------
From 1a43ddca83c5f1eb20999e6120332d0dc91e3571 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Andr=C3=A1s_Kov=C3=A1cs?= <andras at debian.sth.sze.hu>
Date: Tue, 12 Jun 2007 23:20:32 +0200
Subject: [PATCH] Add d3d10_private.h header

---
 dlls/d3d10/d3d10_main.c    |    8 +-------
 dlls/d3d10/d3d10_private.h |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 7 deletions(-)

diff --git a/dlls/d3d10/d3d10_main.c b/dlls/d3d10/d3d10_main.c
index 333eac4..a38070a 100644
--- a/dlls/d3d10/d3d10_main.c
+++ b/dlls/d3d10/d3d10_main.c
@@ -20,14 +20,8 @@
  */
 
 #include "config.h"
-#include <stdarg.h>
-#include "initguid.h"
-
-#include "windef.h"
-#include "winbase.h"
-#include "winuser.h"
-#include "wine/debug.h"
 
+#include "d3d10_private.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(d3d10);
 
diff --git a/dlls/d3d10/d3d10_private.h b/dlls/d3d10/d3d10_private.h
new file mode 100644
index 0000000..29aae33
--- /dev/null
+++ b/dlls/d3d10/d3d10_private.h
@@ -0,0 +1,41 @@
+/*
+ * Direct3D 10 private include file
+ *
+ * Copyright 2007 Andras Kovacs 
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __WINE_D3D10_PRIVATE_H
+#define __WINE_D3D10_PRIVATE_H
+
+#include <stdarg.h>
+
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+#define COBJMACROS
+#include "windef.h"
+#include "winbase.h"
+#include "wingdi.h"
+#include "winuser.h"
+#include "wine/debug.h"
+#include "wine/unicode.h"
+
+#include "objbase.h"
+#include "d3d10.h"
+
+#include "wine/wined3d_interface.h"
+
+#endif /* __WINE_D3D10_PRIVATE_H */
-- 
1.4.4.4



More information about the wine-patches mailing list