Add python bindings for cache_flushed_alert.

This commit is contained in:
All Seeing Eye Tolled Ewe Sew 2016-11-04 05:02:00 +00:00 committed by Arvid Norberg
parent 583082a3a0
commit d69773c9e0
1 changed files with 5 additions and 0 deletions

View File

@ -242,6 +242,7 @@ namespace boost
POLY(save_resume_data_failed_alert)
POLY(performance_alert)
POLY(stats_alert)
POLY(cache_flushed_alert)
POLY(anonymous_mode_alert)
POLY(incoming_connection_alert)
POLY(torrent_need_cert_alert)
@ -759,6 +760,10 @@ void bind_alert()
#endif
;
class_<cache_flushed_alert, bases<torrent_alert>, noncopyable>(
"cache_flushed_alert", no_init)
;
class_<anonymous_mode_alert, bases<torrent_alert>, noncopyable>(
"anonymous_mode_alert", no_init)
.def_readonly("kind", &anonymous_mode_alert::kind)