bits: Generic proxy for queue manager (BITS) (6/27)
Roy Shea
roy at cs.hmc.edu
Fri Nov 16 18:16:29 CST 2007
The WIDL compiler generates most of the code required for a proxy. This patch
adds the support files used by WIDL to make the proxy.
---
dlls/qmgrprxy/Makefile.in | 25 +++++++++++++++++++++++++
dlls/qmgrprxy/qmgrprxy.idl | 20 ++++++++++++++++++++
dlls/qmgrprxy/qmgrprxy.spec | 5 +++++
3 files changed, 50 insertions(+), 0 deletions(-)
create mode 100644 dlls/qmgrprxy/Makefile.in
create mode 100644 dlls/qmgrprxy/qmgrprxy.idl
create mode 100644 dlls/qmgrprxy/qmgrprxy.spec
diff --git a/dlls/qmgrprxy/Makefile.in b/dlls/qmgrprxy/Makefile.in
new file mode 100644
index 0000000..eb1155e
--- /dev/null
+++ b/dlls/qmgrprxy/Makefile.in
@@ -0,0 +1,25 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = qmgrprxy.dll
+IMPORTLIB = libqmgrprxy.$(IMPLIBEXT)
+IMPORTS = ole32 user32 advapi32 kernel32 rpcrt4
+EXTRALIBS = -luuid
+EXTRADEFS = -DREGISTER_PROXY_DLL
+
+C_SRCS =
+
+IDL_I_SRCS = qmgrprxy.idl
+IDL_P_SRCS = qmgrprxy.idl
+
+EXTRA_OBJS = dlldata.o
+
+ at MAKE_DLL_RULES@
+
+dlldata.o: dlldata.c
+
+dlldata.c: $(WINEBUILD)
+ $(WIDL) $(IDLFLAGS) --dlldata-only $(IDL_P_SRCS:.idl=)
+
+ at DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/dlls/qmgrprxy/qmgrprxy.idl b/dlls/qmgrprxy/qmgrprxy.idl
new file mode 100644
index 0000000..7522fb3
--- /dev/null
+++ b/dlls/qmgrprxy/qmgrprxy.idl
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2007 Google (Roy Shea)
+ *
+ * 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 "bits.idl"
+
diff --git a/dlls/qmgrprxy/qmgrprxy.spec b/dlls/qmgrprxy/qmgrprxy.spec
new file mode 100644
index 0000000..5cdde31
--- /dev/null
+++ b/dlls/qmgrprxy/qmgrprxy.spec
@@ -0,0 +1,5 @@
+@ stdcall -private DllCanUnloadNow()
+@ stdcall -private DllGetClassObject(ptr ptr ptr)
+@ stdcall -private DllRegisterServer()
+@ stdcall -private DllUnregisterServer()
+@ stdcall GetProxyDllInfo(ptr ptr)
--
1.5.3.1
More information about the wine-patches
mailing list