[Libtorrent-devel] LibTorrent 0.11.0 and rTorrent 0.7.0 released
tor at krill.nu
Thu Dec 28 19:03:14 UTC 2006
On Thu, 2006-12-28 at 19:19 +0100, Tor Krill wrote:
> On Thu, 2006-12-21 at 12:13 +0100, jaris at student.matnat.uio.no wrote:
> > On Mon, December 18, 2006 21:52, Vetle Roeim wrote:
> > > Another question; I used to be able to use FileList::get() to access
> > > the actual File instances, but the methods inherited from
> > > std::vector<File*> are now private. Any other ways to get at them?
> > Sorry, this fell through the cracks. Both the get function and the reply.
> > I use (begin() + index) the few places I need to access them by index, but
> > I'll add the get function.
> Another question regarding FileList. In my code i have up till now used
> the set_root_dir method of FileList object to set the directory to where
> i want the download stored.
> With the 0.11 release this is not longer possible due to the problem
> mentioned above. Is there any other way around this?
Nevermind this. In good tradition when mailing this list i found a
solution after sending this email
Including <torrent/data/file_list.h> solves this for me.
More information about the Libtorrent-devel