[PATCH 1/42] wayland.drv: Add wayland driver
Detlef Riekenberg
wine.dev at web.de
Mon Apr 1 06:20:52 CDT 2013
The driver has some areas for optimizations, but it works here.
Please test and repory any issue.
--
By by ... Detlef
---
dlls/winewayland.drv/Makefile.in | 8 ++++
dlls/winewayland.drv/wayland.c | 51 +++++++++++++++++++++++++++++
dlls/winewayland.drv/winewayland.drv.spec | 2 +
3 files changed, 61 insertions(+), 0 deletions(-)
create mode 100644 dlls/winewayland.drv/Makefile.in
create mode 100644 dlls/winewayland.drv/wayland.c
create mode 100644 dlls/winewayland.drv/winewayland.drv.spec
diff --git a/dlls/winewayland.drv/Makefile.in b/dlls/winewayland.drv/Makefile.in
new file mode 100644
index 0000000..62daa57
--- /dev/null
+++ b/dlls/winewayland.drv/Makefile.in
@@ -0,0 +1,8 @@
+MODULE = winewayland.drv
+IMPORTS = user32 gdi32 advapi32
+
+
+C_SRCS = \
+ wayland.c
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/winewayland.drv/wayland.c b/dlls/winewayland.drv/wayland.c
new file mode 100644
index 0000000..f574c3c
--- /dev/null
+++ b/dlls/winewayland.drv/wayland.c
@@ -0,0 +1,51 @@
+/*
+ * wayland driver for Wine
+ *
+ * Copyright 2013 Detlef Riekenberg
+ *
+ * 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
+ */
+
+#include "config.h"
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(wayland);
+
+/*****************************************************
+ * DllMain
+ */
+BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
+{
+ TRACE("(%p, %d, %p)\n",hdll, reason, reserved);
+
+ switch(reason)
+ {
+ case DLL_PROCESS_ATTACH:
+ /* ToDo ...*/
+ break;
+ case DLL_THREAD_ATTACH:
+ /* ToDo ...*/
+ break;
+ case DLL_THREAD_DETACH:
+ /* ToDo ...*/
+ break;
+ case DLL_PROCESS_DETACH:
+ /* ToDo ...*/
+ break;
+ }
+ return TRUE;
+}
+
diff --git a/dlls/winewayland.drv/winewayland.drv.spec b/dlls/winewayland.drv/winewayland.drv.spec
new file mode 100644
index 0000000..a5a7942
--- /dev/null
+++ b/dlls/winewayland.drv/winewayland.drv.spec
@@ -0,0 +1,2 @@
+# still missing
+
--
1.7.5.4
More information about the wine-patches
mailing list