Alexandre Julliard : gameux: Add a typelib resource.

Alexandre Julliard julliard at winehq.org
Thu Dec 9 12:26:23 CST 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Dec  9 11:18:11 2010 +0100

gameux: Add a typelib resource.

---

 .gitignore                                 |    1 +
 dlls/gameux/Makefile.in                    |    4 +++-
 dlls/gameux/{version.rc => gameux_tlb.idl} |   14 +++-----------
 dlls/gameux/{version.rc => rsrc.rc}        |    5 ++++-
 include/gameux.idl                         |    2 +-
 5 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/.gitignore b/.gitignore
index 88001d8..36c11ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,6 +50,7 @@ dlls/d3dcompiler_43/asmshader.yy.c
 dlls/dispex/disp_ex.h
 dlls/dispex/disp_ex_p.c
 dlls/dxdiagn/fil_data.h
+dlls/gameux/gameux_tlb.tlb
 dlls/infosoft/infosoft.h
 dlls/jscript/jsglobal.tlb
 dlls/jscript/parser.tab.c
diff --git a/dlls/gameux/Makefile.in b/dlls/gameux/Makefile.in
index d47c907..94cc810 100644
--- a/dlls/gameux/Makefile.in
+++ b/dlls/gameux/Makefile.in
@@ -9,6 +9,8 @@ C_SRCS = \
 	main.c \
 	regsvr.c
 
-RC_SRCS = version.rc
+IDL_TLB_SRCS = gameux_tlb.idl
+
+RC_SRCS = rsrc.rc
 
 @MAKE_DLL_RULES@
diff --git a/dlls/gameux/version.rc b/dlls/gameux/gameux_tlb.idl
similarity index 63%
copy from dlls/gameux/version.rc
copy to dlls/gameux/gameux_tlb.idl
index 286add1..8b18ca0 100644
--- a/dlls/gameux/version.rc
+++ b/dlls/gameux/gameux_tlb.idl
@@ -1,7 +1,7 @@
 /*
- *    Gameux library version resource
+ * Typelib for gameux
  *
- * Copyright (C) 2010 Mariusz Pluciński
+ * Copyright 2010 Alexandre Julliard
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -18,12 +18,4 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WINE_FILEDESCRIPTION_STR "Wine Games Explorer"
-#define WINE_FILENAME_STR "gameux.dll"
-#define WINE_FILEVERSION 6,1,7600,16385
-#define WINE_FILEVERSION_STR "6.1.7600.16385"
-#define WINE_PRODUCTVERSION 6,1,7600,16385
-#define WINE_PRODUCTVERSION_STR "6.1.7600.16385"
-#define WINE_EXTRAVALUES VALUE "OLESelfRegister",""
-
-#include "wine/wine_common_ver.rc"
+#include "gameux.idl"
diff --git a/dlls/gameux/version.rc b/dlls/gameux/rsrc.rc
similarity index 93%
rename from dlls/gameux/version.rc
rename to dlls/gameux/rsrc.rc
index 286add1..f5670b7 100644
--- a/dlls/gameux/version.rc
+++ b/dlls/gameux/rsrc.rc
@@ -1,5 +1,5 @@
 /*
- *    Gameux library version resource
+ * Gameux library resources
  *
  * Copyright (C) 2010 Mariusz Pluciński
  *
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+/* @makedep: gameux_tlb.tlb */
+1 TYPELIB gameux_tlb.tlb
+
 #define WINE_FILEDESCRIPTION_STR "Wine Games Explorer"
 #define WINE_FILENAME_STR "gameux.dll"
 #define WINE_FILEVERSION 6,1,7600,16385
diff --git a/include/gameux.idl b/include/gameux.idl
index 773e784..5c50a3c 100644
--- a/include/gameux.idl
+++ b/include/gameux.idl
@@ -24,7 +24,7 @@ import "ocidl.idl";
 import "shobjidl.idl";
 
 [
-  uuid(1DE6CE3D-EA69-4671-941F-26F789F39C5B),
+  uuid(4F48A59C-942D-4F3C-83C9-4EFFE84E4959),
   version(1.0),
   helpstring("gameux public 1.0 Type Library")
 ]




More information about the wine-cvs mailing list