зеркало из https://github.com/mozilla/gecko-dev.git
Bug 759416 - XPCOM FileWatcherService. Interface change only. Patch to previous interface changes. sr=bsmedberg
This commit is contained in:
Родитель
ad6b36600a
Коммит
056dbff7ae
|
@ -465,10 +465,8 @@ interface nsIFile : nsISupports
|
|||
* The listener to call out to when the file updates.
|
||||
* Updated will be recieved on the main thread.
|
||||
*
|
||||
* @return NS_ERROR_FILE_TARGET_DOES_NOT_EXIST if the file
|
||||
* doesn't exist, NS_NOT_AVAILABLE if there is an
|
||||
* out-of-memory or other resource failure, NS_OK
|
||||
* otherwise.
|
||||
* @return NS_NOT_AVAILABLE if there is an out-of-memory or other
|
||||
* resource failure, NS_OK otherwise.
|
||||
*/
|
||||
void watch(in nsIFileUpdateListener listener);
|
||||
|
||||
|
@ -483,7 +481,7 @@ interface nsIFile : nsISupports
|
|||
* @param listener
|
||||
* the listener to stop calling out to
|
||||
*
|
||||
* @return NS_ERROR_ILLEGAL_VALUE if the file is not being
|
||||
* @return NS_NOT_AVAILABLE if the file is not being
|
||||
* watched with the given listener, NS_OK otherwise.
|
||||
*/
|
||||
void unwatch(in nsIFileUpdateListener listener);
|
||||
|
@ -499,7 +497,7 @@ interface nsIFileUpdateListener : nsISupports
|
|||
* processed.
|
||||
*
|
||||
* @param type
|
||||
* The type of update that occured (one of "created" "deleted" "modified" or "unknown").
|
||||
* The type of update that occured (one of "created" "deleted" or "modified").
|
||||
* @param file
|
||||
* The file which has updated
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче