Changeset 1145 for trunk/libtorrent/src/torrent/download.h
- Timestamp:
- 03/15/10 14:31:50 (2 years ago)
- Files:
-
- 1 modified
-
trunk/libtorrent/src/torrent/download.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtorrent/src/torrent/download.h
r1144 r1145 93 93 bool is_valid() const { return m_ptr; } 94 94 95 // bool is_open() const;96 // bool is_active() const;97 98 95 bool is_hash_checked() const; 99 96 bool is_hash_checking() const; 100 97 101 // bool is_private() const;102 // bool is_pex_active() const;103 // bool is_pex_enabled() const;104 98 void set_pex_enabled(bool enabled); 105 106 // bool is_meta_download() const;107 108 // Returns "" if the object is not valid.109 const std::string& name() const;110 111 const HashString& info_hash() const;112 const HashString& info_hash_obfuscated() const;113 const HashString& local_id() const;114 115 // Unix epoche, 0 == unknown.116 uint32_t creation_date() const;117 uint32_t load_date() const;118 99 119 100 Object* bencode(); … … 129 110 ConnectionList* connection_list(); 130 111 const ConnectionList* connection_list() const; 131 132 // Remove the old non-const versions.133 Rate* down_rate();134 const Rate* down_rate() const;135 Rate* mutable_down_rate();136 137 Rate* up_rate();138 const Rate* up_rate() const;139 Rate* mutable_up_rate();140 141 Rate* skip_rate();142 const Rate* skip_rate() const;143 Rate* mutable_skip_rate();144 112 145 113 // Bytes completed.
