*** empty log message ***

This commit is contained in:
Arvid Norberg 2004-03-08 12:26:07 +00:00
parent 084172000e
commit 7f88f61780
3 changed files with 10 additions and 0 deletions

View File

@ -477,6 +477,11 @@ public:
torrent_info(const entry& torrent_file) 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_iterator file_iterator;
typedef std::vector<file_entry>::const_reverse_iterator reverse_file_iterator; typedef std::vector<file_entry>::const_reverse_iterator reverse_file_iterator;
@ -1115,6 +1120,7 @@ any events at all.</p>
<p>When you get an alert, you can use <tt class="literal"><span class="pre">typeid()</span></tt> or <tt class="literal"><span class="pre">dynamic_cast&lt;&gt;</span></tt> to get more detailed <p>When you get an alert, you can use <tt class="literal"><span class="pre">typeid()</span></tt> or <tt class="literal"><span class="pre">dynamic_cast&lt;&gt;</span></tt> to get more detailed
information on exactly which type it is. i.e. what kind of error it is. You can also use a information on exactly which type it is. i.e. what kind of error it is. You can also use a
<a class="reference" href="#dispatcher">dispatcher</a> mechanism that's available in libtorrent.</p> <a class="reference" href="#dispatcher">dispatcher</a> mechanism that's available in libtorrent.</p>
<p>All alert types are defined in the <tt class="literal"><span class="pre">&lt;libtorrent/alert_types.hpp&gt;</span></tt> header file.</p>
<p>The <tt class="literal"><span class="pre">alert</span></tt> class is the base class that specific messages are derived from. This <p>The <tt class="literal"><span class="pre">alert</span></tt> class is the base class that specific messages are derived from. This
is its synopsis:</p> is its synopsis:</p>
<pre class="literal-block"> <pre class="literal-block">

View File

@ -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 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. 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 The ``alert`` class is the base class that specific messages are derived from. This
is its synopsis:: is its synopsis::

View File

@ -33,6 +33,8 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef TORRENT_ALERT_TYPES_HPP_INCLUDED #ifndef TORRENT_ALERT_TYPES_HPP_INCLUDED
#define TORRENT_ALERT_TYPES_HPP_INCLUDED #define TORRENT_ALERT_TYPES_HPP_INCLUDED
#include <string>
#include "libtorrent/alert.hpp" #include "libtorrent/alert.hpp"
#include "libtorrent/torrent_handle.hpp" #include "libtorrent/torrent_handle.hpp"