From 78d0c0672862ccd1c839dd1b02664b7f4da2d228 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 2 Dec 2008 08:41:02 +0000 Subject: [PATCH] regenerated html --- docs/make_torrent.html | 13 +++++ docs/manual.html | 117 +++++++++++++++++++++++---------------- docs/python_binding.html | 11 ++-- 3 files changed, 88 insertions(+), 53 deletions(-) diff --git a/docs/make_torrent.html b/docs/make_torrent.html index a6ef9bffd..608d9e586 100644 --- a/docs/make_torrent.html +++ b/docs/make_torrent.html @@ -100,8 +100,11 @@ bencode(std::ostream_iterator<char>(out), t.generate());
 template <class Pred>
 void add_files(file_storage& fs, boost::filesystem::path const& path, Pred p);
+template <class Pred>
+void add_files(file_storage& fs, boost::filesystem::wpath const& path, Pred p);
 
 void add_files(file_storage& fs, boost::filesystem::path const& path);
+void add_files(file_storage& fs, boost::filesystem::wpath const& path);
 

Adds the file specified by path to the file_storage object. In case path @@ -112,6 +115,10 @@ which p returns true

 bool Pred(boost::filesystem::path const& p);
 
+

and for the wpath version:

+
+bool Pred(boost::filesystem::wpath const& p);
+

The path that is passed in to the predicate is the full path of the file or directory. If no predicate is specified, all files are added, and all directories are traveresed.

@@ -123,8 +130,11 @@ are traveresed.

 template <class Fun>
 void set_piece_hashes(create_torrent& t, boost::filesystem::path const& p, Fun f);
+template <class Fun>
+void set_piece_hashes(create_torrent& t, boost::filesystem::wpath const& p, Fun f);
 
 void set_piece_hashes(create_torrent& t, boost::filesystem::path const& p);
+void set_piece_hashes(create_torrent& t, boost::filesystem::wpath const& p);
 

This function will assume that the files added to the torrent file exists at path @@ -149,7 +159,9 @@ public: void add_file(file_entry const& e); void add_file(fs::path const& p, size_type size); + void add_file(fs::wpath const& p, size_type size); void rename_file(int index, std::string const& new_filename); + void rename_file(int index, std::wstring const& new_filename); std::vector<file_slice> map_block(int piece, size_type offset , int size) const; @@ -174,6 +186,7 @@ public: int piece_size(int index) const; void set_name(std::string const& n); + void set_name(std::wstring const& n); const std::string& name() const; void swap(file_storage& ti); diff --git a/docs/manual.html b/docs/manual.html index c6dc41de0..515c074c2 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -191,68 +191,69 @@

  • invalid_request_alert
  • torrent_finished_alert
  • performance_alert
  • -
  • metadata_failed_alert
  • -
  • metadata_received_alert
  • -
  • fastresume_rejected_alert
  • -
  • peer_blocked_alert
  • -
  • storage_moved_alert
  • -
  • torrent_paused_alert
  • -
  • torrent_resumed_alert
  • -
  • save_resume_data_alert
  • -
  • save_resume_data_failed_alert
  • -
  • dht_announce_alert
  • -
  • dht_get_peers_alert
  • -
  • dispatcher
  • +
  • state_changed_alert
  • +
  • metadata_failed_alert
  • +
  • metadata_received_alert
  • +
  • fastresume_rejected_alert
  • +
  • peer_blocked_alert
  • +
  • storage_moved_alert
  • +
  • torrent_paused_alert
  • +
  • torrent_resumed_alert
  • +
  • save_resume_data_alert
  • +
  • save_resume_data_failed_alert
  • +
  • dht_announce_alert
  • +
  • dht_get_peers_alert
  • +
  • dispatcher
  • -
  • exceptions