Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f76253bf
Commit
f76253bf
authored
Nov 05, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added [get|put]_Offline implementation.
parent
7bbae51c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
shdocvw.h
dlls/shdocvw/shdocvw.h
+1
-0
webbrowser.c
dlls/shdocvw/webbrowser.c
+11
-4
No files found.
dlls/shdocvw/shdocvw.h
View file @
f76253bf
...
...
@@ -127,6 +127,7 @@ struct WebBrowser {
VARIANT_BOOL
status_bar
;
VARIANT_BOOL
tool_bar
;
VARIANT_BOOL
silent
;
VARIANT_BOOL
offline
;
DocHost
doc_host
;
};
...
...
dlls/shdocvw/webbrowser.c
View file @
f76253bf
...
...
@@ -703,15 +703,21 @@ static HRESULT WINAPI WebBrowser_get_ReadyState(IWebBrowser2 *iface, READYSTATE
static
HRESULT
WINAPI
WebBrowser_get_Offline
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
*
pbOffline
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pbOffline
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pbOffline
);
*
pbOffline
=
This
->
offline
;
return
S_OK
;
}
static
HRESULT
WINAPI
WebBrowser_put_Offline
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
bOffline
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%x)
\n
"
,
This
,
bOffline
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
bOffline
);
This
->
offline
=
bOffline
?
VARIANT_TRUE
:
VARIANT_FALSE
;
return
S_OK
;
}
static
HRESULT
WINAPI
WebBrowser_get_Silent
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
*
pbSilent
)
...
...
@@ -922,6 +928,7 @@ static HRESULT WebBrowser_Create(INT version, IUnknown *pOuter, REFIID riid, voi
ret
->
status_bar
=
VARIANT_TRUE
;
ret
->
tool_bar
=
VARIANT_TRUE
;
ret
->
silent
=
VARIANT_FALSE
;
ret
->
offline
=
VARIANT_FALSE
;
WebBrowser_OleObject_Init
(
ret
);
WebBrowser_ViewObject_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