Add state_changed_alert to python bindings

This commit is contained in:
Andrew Resch 2008-07-03 23:47:48 +00:00
parent ecb538b4b2
commit b93d3cf7c1
1 changed files with 7 additions and 1 deletions

View File

@ -274,5 +274,11 @@ void bind_alert()
class_<torrent_resumed_alert, bases<torrent_alert>, noncopyable>(
"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)
;
}