added get_storage_impl() to torrent_handle

This commit is contained in:
Arvid Norberg
2008-09-04 16:20:19 +00:00
parent c7c0974d3f
commit 7f143791d5
5 changed files with 27 additions and 0 deletions

View File

@@ -1589,6 +1589,7 @@ Its declaration looks like this::
boost::filesystem::path save_path() const;
void move_storage(boost::filesystem::path const& save_path) const;
storage_interface* get_storage_impl() const;
sha1_hash info_hash() const;
@@ -1715,6 +1716,16 @@ the same drive as the original save path. Since disk IO is performed in a separa
thread, this operation is also asynchronous. Once the operation completes, the
``storage_moved_alert`` is generated, with the new path as the message.
get_storage_impl()
------------------
::
storage_interface* get_storage_impl() const;
Returns the storage implementation for this torrent. This depends on the
storage contructor function that was passed to ``session::add_torrent``.
force_reannounce()
------------------