Alistair Leslie-Hughes : gmsxml3: Added typelib support.

Alexandre Julliard julliard at winehq.org
Thu Jan 24 07:21:21 CST 2008


Module: wine
Branch: master
Commit: 7645f321d9d9f97ecc5dcd37b90e7f0f922b1628
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7645f321d9d9f97ecc5dcd37b90e7f0f922b1628

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Jan 24 21:38:46 2008 +1100

gmsxml3: Added typelib support.

---

 .gitignore                |    1 +
 dlls/msxml3/Makefile.in   |    2 ++
 dlls/msxml3/msxml3_v1.idl |   19 +++++++++++++++++++
 dlls/msxml3/version.rc    |    2 ++
 include/msxml2.idl        |   12 ++++++++++++
 5 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index d1b2f57..193ead6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -305,6 +305,7 @@ dlls/msvidc32/rsrc.res
 dlls/msvideo.dll16
 dlls/mswsock/libmswsock.def
 dlls/mswsock/version.res
+dlls/msxml3/msxml3_v1.tlb
 dlls/msxml3/tests/*.ok
 dlls/msxml3/tests/msxml3_crosstest.exe
 dlls/msxml3/tests/testlist.c
diff --git a/dlls/msxml3/Makefile.in b/dlls/msxml3/Makefile.in
index 16a2179..a75cd01 100644
--- a/dlls/msxml3/Makefile.in
+++ b/dlls/msxml3/Makefile.in
@@ -34,6 +34,8 @@ C_SRCS = \
 
 RC_SRCS = version.rc
 
+IDL_TLB_SRCS = msxml3_v1.idl
+
 @MAKE_DLL_RULES@
 
 @DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/msxml3/msxml3_v1.idl b/dlls/msxml3/msxml3_v1.idl
new file mode 100644
index 0000000..d80833f
--- /dev/null
+++ b/dlls/msxml3/msxml3_v1.idl
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2007 Alistair Leslie-Hughes
+ *
+ * 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 "msxml2.idl"
diff --git a/dlls/msxml3/version.rc b/dlls/msxml3/version.rc
index a035174..0d82c31 100644
--- a/dlls/msxml3/version.rc
+++ b/dlls/msxml3/version.rc
@@ -14,6 +14,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+1 TYPELIB LOADONCALL DISCARDABLE msxml3_v1.tlb
+
 #define WINE_OLESELFREGISTER
 #define WINE_FILEDESCRIPTION_STR "Wine MSXML 3.0"
 #define WINE_FILENAME_STR "msxml3.dll"
diff --git a/include/msxml2.idl b/include/msxml2.idl
index fb32a79..9aa5645 100644
--- a/include/msxml2.idl
+++ b/include/msxml2.idl
@@ -23,6 +23,16 @@ import "unknwn.idl";
 import "objidl.idl";
 import "oaidl.idl";
 
+[
+    uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
+    version(3.0),
+    helpstring("Microsoft XML, v3.0")
+]
+library MSXML2
+{
+
+importlib("stdole2.tlb");
+
 interface IXMLDOMImplementation;
 interface IXMLDOMNode;
 interface IXMLDOMDocumentFragment;
@@ -1052,3 +1062,5 @@ coclass XSLTemplate30
 {
     [default] interface IXSLTemplate;
 }
+
+} /* Library MSXML */




More information about the wine-cvs mailing list