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
5e512993
Commit
5e512993
authored
Jul 20, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added nsIFileURL::GetFile implementation.
parent
74451bf3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
nsembed.c
dlls/mshtml/nsembed.c
+1
-1
nsio.c
dlls/mshtml/nsio.c
+13
-2
No files found.
dlls/mshtml/mshtml_private.h
View file @
5e512993
...
...
@@ -781,6 +781,7 @@ HRESULT nsnode_to_nsstring(nsIDOMNode*,nsAString*) DECLSPEC_HIDDEN;
void
get_editor_controller
(
NSContainer
*
)
DECLSPEC_HIDDEN
;
nsresult
get_nsinterface
(
nsISupports
*
,
REFIID
,
void
**
)
DECLSPEC_HIDDEN
;
nsIWritableVariant
*
create_nsvariant
(
void
)
DECLSPEC_HIDDEN
;
nsresult
create_nsfile
(
const
PRUnichar
*
,
nsIFile
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_pending_window
(
HTMLOuterWindow
*
,
nsChannelBSC
*
)
DECLSPEC_HIDDEN
;
void
set_current_mon
(
HTMLOuterWindow
*
,
IMoniker
*
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/nsembed.c
View file @
5e512993
...
...
@@ -79,7 +79,7 @@ static ATOM nscontainer_class;
static
WCHAR
gecko_path
[
MAX_PATH
];
static
unsigned
gecko_path_len
;
static
nsresult
create_nsfile
(
const
PRUnichar
*
path
,
nsIFile
**
ret
)
nsresult
create_nsfile
(
const
PRUnichar
*
path
,
nsIFile
**
ret
)
{
nsAString
str
;
nsresult
nsres
;
...
...
dlls/mshtml/nsio.c
View file @
5e512993
...
...
@@ -2705,8 +2705,19 @@ static nsresult NSAPI nsURL_GetRelativeSpec(nsIFileURL *iface, nsIURI *aURIToCom
static
nsresult
NSAPI
nsFileURL_GetFile
(
nsIFileURL
*
iface
,
nsIFile
**
aFile
)
{
nsWineURI
*
This
=
impl_from_nsIFileURL
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
aFile
);
return
NS_ERROR_NOT_IMPLEMENTED
;
WCHAR
path
[
MAX_PATH
];
DWORD
size
;
HRESULT
hres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
aFile
);
hres
=
CoInternetParseIUri
(
This
->
uri
,
PARSE_PATH_FROM_URL
,
0
,
path
,
sizeof
(
path
)
/
sizeof
(
WCHAR
),
&
size
,
0
);
if
(
FAILED
(
hres
))
{
WARN
(
"CoInternetParseIUri failed: %08x
\n
"
,
hres
);
return
NS_ERROR_FAILURE
;
}
return
create_nsfile
(
path
,
aFile
);
}
static
nsresult
NSAPI
nsFileURL_SetFile
(
nsIFileURL
*
iface
,
nsIFile
*
aFile
)
...
...
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