Add state_changed_alert to python bindings
This commit is contained in:
@@ -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)
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user