added previous state to state_changed_alert. #401

This commit is contained in:
Arvid Norberg
2008-12-01 00:19:05 +00:00
parent ea7715988c
commit 4b738fca7a
3 changed files with 24 additions and 3 deletions

View File

@@ -4480,6 +4480,24 @@ upload or download rate performance.
};
state_changed_alert
-------------------
Generated whenever a torrent changes its state.
::
struct state_changed_alert: torrent_alert
{
// ...
torrent_status::state_t state;
torrent_status::state_t prev_state;
};
``state`` is the new state of the torrent. ``prev_state`` is the previous state.
metadata_failed_alert
---------------------