NS_NewLocalFile must be exported.

RESOLVED FIXED in M14

Status

()

Core
XPCOM
P3
critical
RESOLVED FIXED
18 years ago
18 years ago

People

(Reporter: edburns, Assigned: dougt)

Tracking

Trunk
All
Other
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
In order for embedding apps to work, they must be able to create nsIFile 
instances before XPCOM is inited.  This is because NS_InitXPCOM takes an 
nsIFile.

This looks like it works now, but I'm filing a bug to make sure it keeps 
working.
(Reporter)

Comment 1

18 years ago
lxr identifier search doesn't show any .h files that include NS_NewLocalFile.  
This function MUST be exported so embedding apps can call NS_InitXPCOM() 
passing in the location of the bin directory.  

Stanley, this is the first hit of the nsIFile change.
Assignee: edburns → dougt
Target Milestone: M14
(Assignee)

Comment 2

18 years ago
it is exported via the generated nsILocalFile.h file.  See:

http://lxr.mozilla.org/seamonkey/source/xpcom/io/nsILocalFile.idl#73

I still have to make sure that this is exported on the mac though.  I will close
this bug once I confirm.
Status: NEW → ASSIGNED
(Assignee)

Comment 3

18 years ago
fix has been in.  confirmed by smfr.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.