Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
fa31cfb0
Commit
fa31cfb0
authored
Feb 08, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Remove IQuickActivate interface implementation that is not
implemented in Windows as well.
parent
0e3be468
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
106 deletions
+8
-106
Makefile.in
dlls/shdocvw/Makefile.in
+0
-1
misc.c
dlls/shdocvw/misc.c
+0
-98
shdocvw.h
dlls/shdocvw/shdocvw.h
+0
-3
shdocvw_main.c
dlls/shdocvw/shdocvw_main.c
+8
-0
webbrowser.c
dlls/shdocvw/webbrowser.c
+0
-4
No files found.
dlls/shdocvw/Makefile.in
View file @
fa31cfb0
...
...
@@ -16,7 +16,6 @@ C_SRCS = \
events.c
\
factory.c
\
frame.c
\
misc.c
\
oleobject.c
\
persist.c
\
regsvr.c
\
...
...
dlls/shdocvw/misc.c
deleted
100644 → 0
View file @
0e3be468
/*
* Implementation of miscellaneous interfaces for WebBrowser control:
*
* - IQuickActivate
*
* Copyright 2001 John R. Sheets (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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "wine/debug.h"
#include "shdocvw.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
shdocvw
);
/**********************************************************************
* Implement the IQuickActivate interface
*/
#define QUICKACT_THIS(iface) DEFINE_THIS(WebBrowser, QuickActivate, iface)
static
HRESULT
WINAPI
QuickActivate_QueryInterface
(
IQuickActivate
*
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
WebBrowser
*
This
=
QUICKACT_THIS
(
iface
);
return
IWebBrowser_QueryInterface
(
WEBBROWSER
(
This
),
riid
,
ppobj
);
}
static
ULONG
WINAPI
QuickActivate_AddRef
(
IQuickActivate
*
iface
)
{
WebBrowser
*
This
=
QUICKACT_THIS
(
iface
);
return
IWebBrowser_AddRef
(
WEBBROWSER
(
This
));
}
static
ULONG
WINAPI
QuickActivate_Release
(
IQuickActivate
*
iface
)
{
WebBrowser
*
This
=
QUICKACT_THIS
(
iface
);
return
IWebBrowser_Release
(
WEBBROWSER
(
This
));
}
static
HRESULT
WINAPI
QuickActivate_QuickActivate
(
IQuickActivate
*
iface
,
QACONTAINER
*
pQaContainer
,
QACONTROL
*
pQaControl
)
{
WebBrowser
*
This
=
QUICKACT_THIS
(
iface
);
FIXME
(
"(%p)->(%p %p)
\n
"
,
This
,
pQaContainer
,
pQaControl
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
QuickActivate_SetContentExtent
(
IQuickActivate
*
iface
,
LPSIZEL
pSizel
)
{
WebBrowser
*
This
=
QUICKACT_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pSizel
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
QuickActivate_GetContentExtent
(
IQuickActivate
*
iface
,
LPSIZEL
pSizel
)
{
WebBrowser
*
This
=
QUICKACT_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pSizel
);
return
E_NOTIMPL
;
}
#undef QUICKACT_THIS
static
const
IQuickActivateVtbl
QuickActivateVtbl
=
{
QuickActivate_QueryInterface
,
QuickActivate_AddRef
,
QuickActivate_Release
,
QuickActivate_QuickActivate
,
QuickActivate_SetContentExtent
,
QuickActivate_GetContentExtent
};
void
WebBrowser_Misc_Init
(
WebBrowser
*
This
)
{
This
->
lpQuickActivateVtbl
=
&
QuickActivateVtbl
;
}
/**********************************************************************
* OpenURL (SHDOCVW.@)
*/
void
WINAPI
OpenURL
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
lpcstrUrl
,
int
nShowCmd
)
{
FIXME
(
"%p %p %s %d
\n
"
,
hWnd
,
hInst
,
debugstr_a
(
lpcstrUrl
),
nShowCmd
);
}
dlls/shdocvw/shdocvw.h
View file @
fa31cfb0
...
...
@@ -72,7 +72,6 @@ typedef struct {
const
IPersistStorageVtbl
*
lpPersistStorageVtbl
;
const
IPersistStreamInitVtbl
*
lpPersistStreamInitVtbl
;
const
IProvideClassInfo2Vtbl
*
lpProvideClassInfoVtbl
;
const
IQuickActivateVtbl
*
lpQuickActivateVtbl
;
const
IConnectionPointContainerVtbl
*
lpConnectionPointContainerVtbl
;
const
IViewObject2Vtbl
*
lpViewObjectVtbl
;
const
IOleInPlaceActiveObjectVtbl
*
lpOleInPlaceActiveObjectVtbl
;
...
...
@@ -130,7 +129,6 @@ typedef struct {
#define PERSTORAGE(x) ((IPersistStorage*) &(x)->lpPersistStorageVtbl)
#define PERSTRINIT(x) ((IPersistStreamInit*) &(x)->lpPersistStreamInitVtbl)
#define CLASSINFO(x) ((IProvideClassInfo2*) &(x)->lpProvideClassInfoVtbl)
#define QUICKACT(x) ((IQuickActivate*) &(x)->lpQuickActivateVtbl)
#define CONPTCONT(x) ((IConnectionPointContainer*) &(x)->lpConnectionPointContainerVtbl)
#define VIEWOBJ(x) ((IViewObject*) &(x)->lpViewObjectVtbl);
#define VIEWOBJ2(x) ((IViewObject2*) &(x)->lpViewObjectVtbl);
...
...
@@ -151,7 +149,6 @@ void WebBrowser_OleObject_Init(WebBrowser*);
void
WebBrowser_ViewObject_Init
(
WebBrowser
*
);
void
WebBrowser_Persist_Init
(
WebBrowser
*
);
void
WebBrowser_ClassInfo_Init
(
WebBrowser
*
);
void
WebBrowser_Misc_Init
(
WebBrowser
*
);
void
WebBrowser_Events_Init
(
WebBrowser
*
);
void
WebBrowser_ClientSite_Init
(
WebBrowser
*
);
...
...
dlls/shdocvw/shdocvw_main.c
View file @
fa31cfb0
...
...
@@ -589,3 +589,11 @@ DWORD WINAPI SetQueryNetSessionCount(DWORD arg)
FIXME
(
"(%lu), stub!
\n
"
,
arg
);
return
0
;
}
/**********************************************************************
* OpenURL (SHDOCVW.@)
*/
void
WINAPI
OpenURL
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
lpcstrUrl
,
int
nShowCmd
)
{
FIXME
(
"%p %p %s %d
\n
"
,
hWnd
,
hInst
,
debugstr_a
(
lpcstrUrl
),
nShowCmd
);
}
dlls/shdocvw/webbrowser.c
View file @
fa31cfb0
...
...
@@ -82,9 +82,6 @@ static HRESULT WINAPI WebBrowser_QueryInterface(IWebBrowser2 *iface, REFIID riid
}
else
if
(
IsEqualGUID
(
&
IID_IProvideClassInfo2
,
riid
))
{
TRACE
(
"(%p)->(IID_IProvideClassInfo2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
CLASSINFO
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IQuickActivate
,
riid
))
{
TRACE
(
"(%p)->(IID_IQuickActivate %p)
\n
"
,
This
,
ppv
);
*
ppv
=
QUICKACT
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IConnectionPointContainer
,
riid
))
{
TRACE
(
"(%p)->(IID_IConnectionPointContainer %p)
\n
"
,
This
,
ppv
);
*
ppv
=
CONPTCONT
(
This
);
...
...
@@ -806,7 +803,6 @@ HRESULT WebBrowser_Create(IUnknown *pOuter, REFIID riid, void **ppv)
WebBrowser_ViewObject_Init
(
ret
);
WebBrowser_Persist_Init
(
ret
);
WebBrowser_ClassInfo_Init
(
ret
);
WebBrowser_Misc_Init
(
ret
);
WebBrowser_Events_Init
(
ret
);
WebBrowser_ClientSite_Init
(
ret
);
WebBrowser_DocHost_Init
(
ret
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment