Piotr Caban : include: Added IDocObjectService interface definition.

Alexandre Julliard julliard at winehq.org
Fri Mar 11 10:23:38 CST 2011


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

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Fri Mar 11 11:13:58 2011 +0100

include: Added IDocObjectService interface definition.

---

 .gitignore                   |    1 +
 dlls/uuid/uuid.c             |    1 +
 include/Makefile.in          |    1 +
 include/docobjectservice.idl |   67 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 0a6a589..84bddc8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -167,6 +167,7 @@ include/devicetopology.h
 include/dimm.h
 include/dispex.h
 include/docobj.h
+include/docobjectservice.h
 include/downloadmgr.h
 include/dxgi.h
 include/dxgitype.h
diff --git a/dlls/uuid/uuid.c b/dlls/uuid/uuid.c
index 8df7334..d4ad2ae 100644
--- a/dlls/uuid/uuid.c
+++ b/dlls/uuid/uuid.c
@@ -62,6 +62,7 @@ DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
 #include "mlang.h"
 #include "mshtml.h"
 #include "mshtmhst.h"
+#include "docobjectservice.h"
 #include "richole.h"
 #include "downloadmgr.h"
 #include "objsel.h"
diff --git a/include/Makefile.in b/include/Makefile.in
index e5c2b53..e677f38 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -30,6 +30,7 @@ PUBLIC_IDL_H_SRCS = \
 	dimm.idl \
 	dispex.idl \
 	docobj.idl \
+	docobjectservice.idl \
 	downloadmgr.idl \
 	dxgi.idl \
 	dxgitype.idl \
diff --git a/include/docobjectservice.idl b/include/docobjectservice.idl
new file mode 100644
index 0000000..7478551
--- /dev/null
+++ b/include/docobjectservice.idl
@@ -0,0 +1,67 @@
+/*
+ * Copyright 2011 Piotr Caban 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
+ */
+
+import "objidl.idl";
+import "mshtml.idl";
+
+[
+    local,
+    object,
+    uuid(3050f801-98b5-11cf-bb82-00aa00bdce0b)
+]
+interface IDocObjectService : IUnknown
+{
+    HRESULT FireBeforeNavigate2(
+            [in] IDispatch *pDispatch,
+            [in] LPCWSTR lpszUrl,
+            [in] DWORD dwFlags,
+            [in] LPCWSTR lpszFrameName,
+            [in] BYTE *pPostData,
+            [in] DWORD cbPostData,
+            [in] LPCWSTR lpszHeaders,
+            [in] BOOL fPlayNavSound,
+            [out] BOOL *pfCancel);
+
+    HRESULT FireNavigateComplete2(
+            [in] IHTMLWindow2 *pHTMLWindow2,
+            [in] DWORD dwFlags);
+
+    HRESULT FireDownloadBegin(void);
+
+    HRESULT FireDownloadComplete(void);
+
+    HRESULT FireDocumentComplete(
+            [in] IHTMLWindow2 *pHTMLWindow,
+            [in] DWORD dwFlags);
+
+    HRESULT UpdateDesktopComponent(
+            [in] IHTMLWindow2 *pHTMLWindow);
+
+    HRESULT GetPendingUrl(
+            [out] BSTR *pbstrPendingUrl);
+
+    HRESULT ActiveElementChanged(
+            [in] IHTMLElement *pHTMLElement);
+
+    HRESULT GetUrlSearchComponent(
+            [out] BSTR *pbstrSearch);
+
+    HRESULT IsErrorUrl(
+            [in] LPCWSTR lpszUrl,
+            [out] BOOL *pfIsError);
+};




More information about the wine-cvs mailing list