Let's say, for the sake of example, that I've modified the command line handling code of DC++ to parse the following type of address:
dchub://fav.dc.hub:port/user/path/album
and
dchub://fav.dc.hub:port/user/path/album/file?size=nnnnnn
I've stored all of the parts of the path in strings. My questions:
1. When passing the path to other functions in DC++, do the '/' need to be replaced by '\' ?
2. I know that the current code will only handle the path up to, and including, the user - so the code will, at most, get the file listing from the user. This is done with a HubFrame::openWindow call with the server string, and a QueueManager::getInstance() call with the user string. How would this second call be modified, and which additional function calls added, to be able to add an album to the download queue?
I'll happily share my code with the community once complete.
--C
dchub:// link assistance
Moderator: Moderators
-
- Posts: 8
- Joined: 2003-01-29 07:45
- Contact:
-
- Posts: 8
- Joined: 2003-01-29 07:45
- Contact: