forked from premiere/premiere-libtorrent
Add state_changed_alert to python bindings
This commit is contained in:
parent
ecb538b4b2
commit
b93d3cf7c1
|
@ -275,4 +275,10 @@ void bind_alert()
|
||||||
class_<torrent_resumed_alert, bases<torrent_alert>, noncopyable>(
|
class_<torrent_resumed_alert, bases<torrent_alert>, noncopyable>(
|
||||||
"torrent_resumed_alert", no_init
|
"torrent_resumed_alert", no_init
|
||||||
);
|
);
|
||||||
|
|
||||||
|
class_<state_changed_alert, bases<torrent_alert>, noncopyable>(
|
||||||
|
"state_changed_alert", no_init
|
||||||
|
)
|
||||||
|
.def_readonly("state", &state_changed_alert::state)
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue