Add iexplore from Wine. (Disabled until shdocvw sync)
authorSteven Edwards <winehacker@gmail.com>
Wed, 14 May 2008 17:24:40 +0000 (17:24 +0000)
committerSteven Edwards <winehacker@gmail.com>
Wed, 14 May 2008 17:24:40 +0000 (17:24 +0000)
svn path=/trunk/; revision=33517

reactos/base/applications/applications.rbuild
reactos/base/applications/iexplore/iexplore.rbuild [new file with mode: 0644]
reactos/base/applications/iexplore/main.c [new file with mode: 0644]
reactos/base/applications/iexplore/version.rc [new file with mode: 0644]

index d1fa08a..ba2e8eb 100644 (file)
        <directory name="hh">
                <xi:include href="hh/hh.rbuild" />
        </directory>
        <directory name="hh">
                <xi:include href="hh/hh.rbuild" />
        </directory>
+<!--
+        <directory name="iexplore">
+                <xi:include href="iexplore/iexplore.rbuild" />
+        </directory>
+-->
        <directory name="kbswitch">
                <xi:include href="kbswitch/kbswitch.rbuild" />
        </directory>
        <directory name="kbswitch">
                <xi:include href="kbswitch/kbswitch.rbuild" />
        </directory>
diff --git a/reactos/base/applications/iexplore/iexplore.rbuild b/reactos/base/applications/iexplore/iexplore.rbuild
new file mode 100644 (file)
index 0000000..8b85ee2
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
+<module name="iexplore" type="win32gui" installbase="system32" installname="iexplore.exe" unicode="no">
+       <include base="iexplore">.</include>
+       <define name="_WIN32_IE">0x0600</define>
+       <define name="_WIN32_WINNT">0x0501</define>
+       <library>kernel32</library>
+       <library>user32</library>
+       <library>gdi32</library>
+        <library>shdocvw</library>
+       <file>main.c</file>
+       <file>version.rc</file>
+</module>
diff --git a/reactos/base/applications/iexplore/main.c b/reactos/base/applications/iexplore/main.c
new file mode 100644 (file)
index 0000000..0ecf0d9
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Internet Explorer wrapper
+ *
+ * Copyright 2006 Mike McCormack
+ *
+ * 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 <windows.h>
+
+extern DWORD WINAPI IEWinMain(LPSTR, int);
+
+int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
+{
+    return IEWinMain(cmdline, show);
+}
diff --git a/reactos/base/applications/iexplore/version.rc b/reactos/base/applications/iexplore/version.rc
new file mode 100644 (file)
index 0000000..bc80f6c
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2003 Francois Gouget (for CodeWeavers)
+ *
+ * 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
+ */
+
+#define WINE_OLESELFREGISTER
+#define WINE_FILEDESCRIPTION_STR "Wine core exe"
+#define WINE_FILENAME_STR "iexplore.exe"
+#define WINE_FILEVERSION 6,0,2900,2180
+#define WINE_FILEVERSION_STR "6.0.2900.2180"
+#define WINE_PRODUCTVERSION 6,0,2900,2180
+#define WINE_PRODUCTVERSION_STR "6.0.2900.2180"
+
+#include "wine/wine_common_ver.rc"