introduced a new alert torrent_update_alert, for when a torrent_handle changes info-hash
This commit is contained in:
@@ -521,4 +521,10 @@ void bind_alert()
|
||||
.def_readonly("error", &add_torrent_alert::error)
|
||||
.add_property("params", &get_params)
|
||||
;
|
||||
|
||||
class_<torrent_update_alert, bases<torrent_alert>, noncopyable>(
|
||||
"torrent_update_alert", no_init)
|
||||
.def_readonly("old_ih", &torrent_update_alert::old_ih)
|
||||
.def_readonly("new_ih", &torrent_update_alert::new_ih)
|
||||
;
|
||||
}
|
||||
|
Reference in New Issue
Block a user