*** empty log message ***
This commit is contained in:
parent
084172000e
commit
7f88f61780
|
@ -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.</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<></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
|
||||
<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"><libtorrent/alert_types.hpp></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
|
||||
is its synopsis:</p>
|
||||
<pre class="literal-block">
|
||||
|
|
|
@ -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 ``<libtorrent/alert_types.hpp>`` header file.
|
||||
|
||||
The ``alert`` class is the base class that specific messages are derived from. This
|
||||
is its synopsis::
|
||||
|
||||
|
|
|
@ -33,6 +33,8 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#ifndef TORRENT_ALERT_TYPES_HPP_INCLUDED
|
||||
#define TORRENT_ALERT_TYPES_HPP_INCLUDED
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "libtorrent/alert.hpp"
|
||||
#include "libtorrent/torrent_handle.hpp"
|
||||
|
||||
|
|
Loading…
Reference in New Issue