From 7f88f61780be4b7039a1cd96ef6a53ce58dd797a Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 8 Mar 2004 12:26:07 +0000 Subject: [PATCH] *** empty log message *** --- docs/manual.html | 6 ++++++ docs/manual.rst | 2 ++ include/libtorrent/alert_types.hpp | 2 ++ 3 files changed, 10 insertions(+) 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"