should be pretty easy, we already have a flavor for files (application/x-moz- file) which is just an nsILocalFile object. Rod, if you want to look at code that handles drops of files on the nav window, check out navigatorDD.js.
also look at http://www.mozilla.org/xpfe/xptoolkit/DataFlavors.html
should be pretty easy, we already have a flavor for files (application/x-moz-
file) which is just an nsILocalFile object. Rod, if you want to look at code that
handles drops of files on the nav window, check out navigatorDD.js.
also look at http:// www.mozilla. org/xpfe/ xptoolkit/ DataFlavors. html