diff --git a/include/libtorrent/file.hpp b/include/libtorrent/file.hpp index ce7489bf5..42c1e3bb7 100644 --- a/include/libtorrent/file.hpp +++ b/include/libtorrent/file.hpp @@ -135,12 +135,15 @@ namespace libtorrent TORRENT_EXTRA_EXPORT std::string extension(std::string const& f); TORRENT_EXTRA_EXPORT void replace_extension(std::string& f, std::string const& ext); TORRENT_EXTRA_EXPORT bool is_root_path(std::string const& f); - TORRENT_EXTRA_EXPORT std::string parent_path(std::string const& f); + // used by create_torrent.hpp + TORRENT_EXPORT std::string parent_path(std::string const& f); TORRENT_EXTRA_EXPORT bool has_parent_path(std::string const& f); - TORRENT_EXTRA_EXPORT std::string filename(std::string const& f); + // used by create_torrent.hpp + TORRENT_EXPORT std::string filename(std::string const& f); TORRENT_EXTRA_EXPORT std::string combine_path(std::string const& lhs , std::string const& rhs); - TORRENT_EXTRA_EXPORT std::string complete(std::string const& f); + // used by create_torrent.hpp + TORRENT_EXPORT std::string complete(std::string const& f); TORRENT_EXTRA_EXPORT bool is_complete(std::string const& f); TORRENT_EXTRA_EXPORT std::string current_working_directory(); #if TORRENT_USE_UNC_PATHS