Re: [gui-dev] "Ability to send download filename to search box"
Gregorio Roper <[email protected]> Fri, 13 May 2005 11:46:09 +0200
| Newsgroups | gmane.network.gnutella.limewire.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
If you want to remember the original query you might probably want to store it in the RemoteFileDesc instances either when you pass it from SearchMediator#doDownload(...) to RouterService#download(....) [see also ResultPanel, SearchInformation classes] OR you could store that information by default in all RemoteFileDesc instances when you handle them through the SearchResultHandler. The RemoteFileDesc contains an empty map which is currently not used for anything at all, I'd probably store the query string there to avoid issues with backwards compatibility. mfg gregorio Marcin Okraszewszki schrieb: > Hi Sam, > I have done the searching for a name of downloaded file. But I have a > question about researching by an orginal query. Far I got into the code, > the only information I can obtain in download list is instance of > com.limegroup.gnutella.Downloader (to be more precise: > com.limegroup.gnutella.downloader.ManagedDownloader), which is available > in DownloadDataLine. Far I see ManagedDownloader do not have any > information about orginal query. The ManagedDownloader seems to be saved > between Gnutella runs. So the solution would be to add the orginal query > to ManagedDownloader. Can you point me if is it the right way, or maybe > there is some better solution? _______________________________________________ gui-dev mailing list [email protected] http://www.limewire.org/mailman/listinfo/gui-dev