mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Download manager. Not part of build. a=asa
This commit is contained in:
parent
7f18de5feb
commit
9578c1220e
@ -67,6 +67,8 @@ interface nsIDownload : nsISupports {
|
||||
void init(in nsIURI aSource,
|
||||
in nsILocalFile aTarget,
|
||||
in wstring aDisplayName,
|
||||
in wstring openingWith,
|
||||
in long long startTime,
|
||||
in nsIWebBrowserPersist aPersist);
|
||||
|
||||
/**
|
||||
@ -102,13 +104,13 @@ interface nsIDownload : nsISupports {
|
||||
/**
|
||||
* The time a download was started.
|
||||
*/
|
||||
attribute long long startTime;
|
||||
readonly attribute long long startTime;
|
||||
|
||||
/**
|
||||
* Set this attribute to indicate that the download will be
|
||||
* opened with a helper application upon completion.
|
||||
*/
|
||||
attribute wstring openingWith;
|
||||
readonly attribute wstring openingWith;
|
||||
|
||||
/**
|
||||
* Optional; downloading information is passed to this listener and used to
|
||||
@ -121,7 +123,6 @@ interface nsIDownload : nsISupports {
|
||||
* Must be set if no persist object is specified (see above).
|
||||
*/
|
||||
attribute nsIObserver observer;
|
||||
|
||||
};
|
||||
|
||||
%{C++
|
||||
|
Loading…
Reference in New Issue
Block a user