CPHennessy wrote:

Darin Fisher wrote:



CPHennessy wrote:



Hi,
      I need an interface to watch for updates to files.
Is there an XPCOM interface for such a thing ?
And if so is there also a javascript interface for this ?

Thanks
CPH
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom




I don't think we have an service for this purpose. You could setup a
timer using nsITimer, and periodically you could check the list of files
in a directory via nsIFile::directoryEntries. but, that is very
crufty....



crufty in terms of performance or reliability ?


CPH
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom



in terms of performance and the amount of code you'd need to write.


darin
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to