forked from premiere/premiere-libtorrent
Merge pull request #200 from cas--/Issue/Fix_missing_move_flags
[Bindings/Py] Add missing move_flags_t to torrent_handle
This commit is contained in:
commit
fe928abce1
|
@ -10,6 +10,7 @@
|
||||||
#include <libtorrent/entry.hpp>
|
#include <libtorrent/entry.hpp>
|
||||||
#include <libtorrent/peer_info.hpp>
|
#include <libtorrent/peer_info.hpp>
|
||||||
#include "libtorrent/announce_entry.hpp"
|
#include "libtorrent/announce_entry.hpp"
|
||||||
|
#include <libtorrent/storage.hpp>
|
||||||
#include <boost/lexical_cast.hpp>
|
#include <boost/lexical_cast.hpp>
|
||||||
#include "gil.hpp"
|
#include "gil.hpp"
|
||||||
|
|
||||||
|
@ -524,4 +525,10 @@ void bind_torrent_handle()
|
||||||
.value("query_pieces", torrent_handle::query_pieces)
|
.value("query_pieces", torrent_handle::query_pieces)
|
||||||
.value("query_verified_pieces", torrent_handle::query_verified_pieces)
|
.value("query_verified_pieces", torrent_handle::query_verified_pieces)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
enum_<move_flags_t>("move_flags_t")
|
||||||
|
.value("always_replace_files", always_replace_files)
|
||||||
|
.value("fail_if_exist", fail_if_exist)
|
||||||
|
.value("dont_replace", dont_replace)
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue