зеркало из https://github.com/mozilla/pjs.git
Download manager. Not part of build. a=asa
This commit is contained in:
Родитель
6f489cbb5e
Коммит
e7ed48b03f
|
@ -67,6 +67,8 @@ interface nsIDownload : nsISupports {
|
||||||
void init(in nsIURI aSource,
|
void init(in nsIURI aSource,
|
||||||
in nsILocalFile aTarget,
|
in nsILocalFile aTarget,
|
||||||
in wstring aDisplayName,
|
in wstring aDisplayName,
|
||||||
|
in wstring openingWith,
|
||||||
|
in long long startTime,
|
||||||
in nsIWebBrowserPersist aPersist);
|
in nsIWebBrowserPersist aPersist);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -102,13 +104,13 @@ interface nsIDownload : nsISupports {
|
||||||
/**
|
/**
|
||||||
* The time a download was started.
|
* 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
|
* Set this attribute to indicate that the download will be
|
||||||
* opened with a helper application upon completion.
|
* 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
|
* 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).
|
* Must be set if no persist object is specified (see above).
|
||||||
*/
|
*/
|
||||||
attribute nsIObserver observer;
|
attribute nsIObserver observer;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
%{C++
|
%{C++
|
||||||
|
|
Загрузка…
Ссылка в новой задаче