- Moved v1.0.x to a branch so that we work on v1.1.x in trunk

This commit is contained in:
Christophe Dumez
2007-11-06 11:07:07 +00:00
parent b7fd7d9837
commit 6ae21c2919
156 changed files with 35531 additions and 17986 deletions

View File

@@ -24,6 +24,7 @@
#include <libtorrent/torrent_handle.hpp>
#include <libtorrent/torrent_info.hpp>
using namespace libtorrent;
class QString;
@@ -58,7 +59,7 @@ class QTorrentHandle {
bool is_paused() const;
bool has_filtered_pieces() const;
// size_type total_size() const;
size_type total_done() const;
size_type total_wanted_done() const;
float download_payload_rate() const;
float upload_payload_rate() const;
int num_peers() const;
@@ -96,6 +97,7 @@ class QTorrentHandle {
void remove_url_seed(QString seed);
void add_url_seed(QString seed);
void set_max_uploads(int val);
void set_max_connections(int val);
void prioritize_files(std::vector<int> v);
void set_ratio(float ratio) const;
void replace_trackers(std::vector<announce_entry> const&) const;