added missing setter function on create_torrent

This commit is contained in:
Arvid Norberg 2011-09-05 07:46:10 +00:00
parent 92bcb9ebfd
commit 012bad4b18
1 changed files with 5 additions and 0 deletions

View File

@ -492,6 +492,11 @@ namespace libtorrent
m_comment = str;
}
void create_torrent::set_encryption_key(std::string const& key)
{
m_encryption_key = key;
}
void create_torrent::set_creator(char const* str)
{
m_created_by = str;