diff --git a/docs/manual.html b/docs/manual.html index 1bb650f38..9e3e01981 100755 --- a/docs/manual.html +++ b/docs/manual.html @@ -477,6 +477,11 @@ public: torrent_info(const entry& torrent_file) + torrent_info( + int piece_size + , const char* name + , const char* comment = 0); + typedef std::vector>file_entry>::const_iterator file_iterator; typedef std::vector<file_entry>::const_reverse_iterator reverse_file_iterator; @@ -1115,6 +1120,7 @@ any events at all.
When you get an alert, you can use typeid() or dynamic_cast<> to get more detailed information on exactly which type it is. i.e. what kind of error it is. You can also use a dispatcher mechanism that's available in libtorrent.
+All alert types are defined in the <libtorrent/alert_types.hpp> header file.
The alert class is the base class that specific messages are derived from. This is its synopsis:
diff --git a/docs/manual.rst b/docs/manual.rst index 055c2f700..9d113caf4 100755 --- a/docs/manual.rst +++ b/docs/manual.rst @@ -1161,6 +1161,8 @@ When you get an alert, you can use ``typeid()`` or ``dynamic_cast<>`` to get mor information on exactly which type it is. i.e. what kind of error it is. You can also use a dispatcher_ mechanism that's available in libtorrent. +All alert types are defined in the ```` header file. + The ``alert`` class is the base class that specific messages are derived from. This is its synopsis:: diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index 8b17328ba..e6f69f3e9 100755 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -33,6 +33,8 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef TORRENT_ALERT_TYPES_HPP_INCLUDED #define TORRENT_ALERT_TYPES_HPP_INCLUDED +#include + #include "libtorrent/alert.hpp" #include "libtorrent/torrent_handle.hpp"