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
2e53ac9d
Commit
2e53ac9d
authored
Feb 09, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Remove no longer used [Get|Set]Moniker functions.
parent
fe57f04a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
60 deletions
+0
-60
nsiface.idl
dlls/mshtml/nsiface.idl
+0
-2
nsio.c
dlls/mshtml/nsio.c
+0
-58
No files found.
dlls/mshtml/nsiface.idl
View file @
2e53ac9d
...
...
@@ -1529,8 +1529,6 @@ interface nsIWineURI : nsIURI
nsresult GetNSContainer(NSContainer **aNSContainer);
nsresult SetNSContainer(NSContainer *aNSContainer);
nsresult GetMoniker(IMoniker **aMoniker);
nsresult SetMoniker(IMoniker *aMoniker);
nsresult GetIsDocumentURI(PRBool *aIsDocumentURI);
nsresult SetIsDocumentURI(PRBool aIsDocumentURI);
nsresult GetWineURL(LPCWSTR *aURL);
...
...
dlls/mshtml/nsio.c
View file @
2e53ac9d
...
...
@@ -55,7 +55,6 @@ typedef struct {
nsIURI
*
uri
;
NSContainer
*
container
;
IMoniker
*
mon
;
LPWSTR
wine_url
;
PRBool
is_doc_uri
;
}
nsURI
;
...
...
@@ -1153,8 +1152,6 @@ static nsrefcnt NSAPI nsURI_Release(nsIWineURI *iface)
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
This
->
container
));
if
(
This
->
uri
)
nsIURI_Release
(
This
->
uri
);
if
(
This
->
mon
)
IMoniker_Release
(
This
->
mon
);
mshtml_free
(
This
->
wine_url
);
mshtml_free
(
This
);
}
...
...
@@ -1553,58 +1550,6 @@ static nsresult NSAPI nsURI_SetNSContainer(nsIWineURI *iface, NSContainer *aCont
return
NS_OK
;
}
static
nsresult
NSAPI
nsURI_GetMoniker
(
nsIWineURI
*
iface
,
IMoniker
**
aMoniker
)
{
nsURI
*
This
=
NSURI_THIS
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
aMoniker
);
if
(
This
->
mon
)
IMoniker_AddRef
(
This
->
mon
);
*
aMoniker
=
This
->
mon
;
return
NS_OK
;
}
static
nsresult
NSAPI
nsURI_SetMoniker
(
nsIWineURI
*
iface
,
IMoniker
*
aMoniker
)
{
nsURI
*
This
=
NSURI_THIS
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
aMoniker
);
if
(
This
->
mon
)
{
WARN
(
"Moniker already set: %p
\n
"
,
This
->
container
);
IMoniker_Release
(
This
->
mon
);
mshtml_free
(
This
->
wine_url
);
This
->
wine_url
=
NULL
;
}
if
(
aMoniker
)
{
LPWSTR
url
=
NULL
;
HRESULT
hres
;
hres
=
IMoniker_GetDisplayName
(
aMoniker
,
NULL
,
NULL
,
&
url
);
if
(
SUCCEEDED
(
hres
))
{
DWORD
len
;
len
=
strlenW
(
url
)
+
1
;
This
->
wine_url
=
mshtml_alloc
(
len
*
sizeof
(
WCHAR
));
memcpy
(
This
->
wine_url
,
url
,
len
*
sizeof
(
WCHAR
));
CoTaskMemFree
(
url
);
TRACE
(
"wine_url %s
\n
"
,
debugstr_w
(
This
->
wine_url
));
}
else
{
ERR
(
"GetDisplayName failed: %08x
\n
"
,
hres
);
}
IMoniker_AddRef
(
aMoniker
);
}
This
->
mon
=
aMoniker
;
return
NS_OK
;
}
static
nsresult
NSAPI
nsURI_GetIsDocumentURI
(
nsIWineURI
*
iface
,
PRBool
*
aIsDocumentURI
)
{
nsURI
*
This
=
NSURI_THIS
(
iface
);
...
...
@@ -1688,8 +1633,6 @@ static const nsIWineURIVtbl nsWineURIVtbl = {
nsURI_GetOriginCharset
,
nsURI_GetNSContainer
,
nsURI_SetNSContainer
,
nsURI_GetMoniker
,
nsURI_SetMoniker
,
nsURI_GetIsDocumentURI
,
nsURI_SetIsDocumentURI
,
nsURI_GetWineURL
,
...
...
@@ -1704,7 +1647,6 @@ static nsresult create_uri(nsIURI *uri, NSContainer *container, nsIWineURI **_re
ret
->
ref
=
1
;
ret
->
uri
=
uri
;
ret
->
container
=
container
;
ret
->
mon
=
NULL
;
ret
->
wine_url
=
NULL
;
ret
->
is_doc_uri
=
FALSE
;
...
...
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