forked from premiere/premiere-libtorrent
*** empty log message ***
This commit is contained in:
parent
6a09806ad4
commit
10ea2411b3
|
@ -1132,7 +1132,7 @@ boost::optional<boost::posix_time::ptime> creation_date() const;
|
||||||
it will return an empty string. <tt class="docutils literal"><span class="pre">creation_date()</span></tt> returns a <a class="reference" href="http://www.boost.org/libs/date_time/doc/class_ptime.html">boost::posix_time::ptime</a>
|
it will return an empty string. <tt class="docutils literal"><span class="pre">creation_date()</span></tt> returns a <a class="reference" href="http://www.boost.org/libs/date_time/doc/class_ptime.html">boost::posix_time::ptime</a>
|
||||||
object, representing the time when this torrent file was created. If there's no timestamp
|
object, representing the time when this torrent file was created. If there's no timestamp
|
||||||
in the torrent file, this will return a date of january 1:st 1970.</p>
|
in the torrent file, this will return a date of january 1:st 1970.</p>
|
||||||
<p><tt class="docutils literal"><span class="pre">cretor()</span></tt> returns the creator string in the torrent. If there is no creator string
|
<p><tt class="docutils literal"><span class="pre">creator()</span></tt> returns the creator string in the torrent. If there is no creator string
|
||||||
it will return an empty string.</p>
|
it will return an empty string.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1064,7 +1064,7 @@ it will return an empty string. ``creation_date()`` returns a `boost::posix_time
|
||||||
object, representing the time when this torrent file was created. If there's no timestamp
|
object, representing the time when this torrent file was created. If there's no timestamp
|
||||||
in the torrent file, this will return a date of january 1:st 1970.
|
in the torrent file, this will return a date of january 1:st 1970.
|
||||||
|
|
||||||
``cretor()`` returns the creator string in the torrent. If there is no creator string
|
``creator()`` returns the creator string in the torrent. If there is no creator string
|
||||||
it will return an empty string.
|
it will return an empty string.
|
||||||
|
|
||||||
__ http://www.boost.org/libs/date_time/doc/class_ptime.html
|
__ http://www.boost.org/libs/date_time/doc/class_ptime.html
|
||||||
|
|
|
@ -80,7 +80,7 @@ int main(int argc, char* argv[])
|
||||||
std::cout << "piece length: " << t.piece_length() << "\n";
|
std::cout << "piece length: " << t.piece_length() << "\n";
|
||||||
std::cout << "info hash: " << t.info_hash() << "\n";
|
std::cout << "info hash: " << t.info_hash() << "\n";
|
||||||
std::cout << "comment: " << t.comment() << "\n";
|
std::cout << "comment: " << t.comment() << "\n";
|
||||||
std::cout << "created_by: " << t.creator() << "\n";
|
std::cout << "created by: " << t.creator() << "\n";
|
||||||
std::cout << "files:\n";
|
std::cout << "files:\n";
|
||||||
for (torrent_info::file_iterator i = t.begin_files();
|
for (torrent_info::file_iterator i = t.begin_files();
|
||||||
i != t.end_files(); ++i)
|
i != t.end_files(); ++i)
|
||||||
|
|
Loading…
Reference in New Issue