Expose torrent_deleted_alert in the python bindings.
This commit is contained in:
parent
43d5781638
commit
937a794746
|
@ -27,6 +27,7 @@ extern char const* piece_finished_alert_doc;
|
||||||
extern char const* block_finished_alert_doc;
|
extern char const* block_finished_alert_doc;
|
||||||
extern char const* block_downloading_alert_doc;
|
extern char const* block_downloading_alert_doc;
|
||||||
extern char const* storage_moved_alert_doc;
|
extern char const* storage_moved_alert_doc;
|
||||||
|
extern char const* torrent_deleted_alert_doc;
|
||||||
extern char const* torrent_paused_alert_doc;
|
extern char const* torrent_paused_alert_doc;
|
||||||
extern char const* torrent_checked_alert_doc;
|
extern char const* torrent_checked_alert_doc;
|
||||||
extern char const* url_seed_alert_doc;
|
extern char const* url_seed_alert_doc;
|
||||||
|
@ -159,6 +160,10 @@ void bind_alert()
|
||||||
"storage_moved_alert", storage_moved_alert_doc, no_init
|
"storage_moved_alert", storage_moved_alert_doc, no_init
|
||||||
);
|
);
|
||||||
|
|
||||||
|
class_<torrent_deleted_alert, bases<torrent_alert>, noncopyable>(
|
||||||
|
"torrent_deleted_alert", torrent_deleted_alert_doc, no_init
|
||||||
|
);
|
||||||
|
|
||||||
class_<torrent_paused_alert, bases<torrent_alert>, noncopyable>(
|
class_<torrent_paused_alert, bases<torrent_alert>, noncopyable>(
|
||||||
"torrent_paused_alert", torrent_paused_alert_doc, no_init
|
"torrent_paused_alert", torrent_paused_alert_doc, no_init
|
||||||
);
|
);
|
||||||
|
|
|
@ -270,6 +270,9 @@ char const* storage_moved_alert_doc =
|
||||||
"It contains a `torrent_handle` to the torrent in question. This alert\n"
|
"It contains a `torrent_handle` to the torrent in question. This alert\n"
|
||||||
"is generated as severity level `alert.severity_levels.warning`.";
|
"is generated as severity level `alert.severity_levels.warning`.";
|
||||||
|
|
||||||
|
char const* torrent_deleted_alert_doc =
|
||||||
|
"";
|
||||||
|
|
||||||
char const* torrent_paused_alert_doc =
|
char const* torrent_paused_alert_doc =
|
||||||
"This alert is generated when a torrent switches from being a\n"
|
"This alert is generated when a torrent switches from being a\n"
|
||||||
"active to paused.\n"
|
"active to paused.\n"
|
||||||
|
|
Loading…
Reference in New Issue