Ignore:
Timestamp:
04/03/09 21:17:30 (11 years ago)
Author:
Eoin
Message:

Cleaning up torrent removal code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/halTorrent.cpp

    r714 r739  
    559559 
    560560void bit::add_torrent(wpath file, wpath saveDirectory, bool startStopped, bool managed, allocations alloc,  
    561                 boost::filesystem::wpath moveToDirectory, bool useMoveTo)  
    562 { 
    563         pimpl()->add_torrent(file, saveDirectory, startStopped, managed, alloc, moveToDirectory, useMoveTo); 
     561                boost::filesystem::wpath moveToDirectory)  
     562{ 
     563        pimpl()->add_torrent(file, saveDirectory, startStopped, managed, alloc, moveToDirectory); 
    564564} 
    565565 
     
    754754} 
    755755 
    756 void bit::remove_torrent_wipe_files_wstr(const std::wstring& filename) 
    757 { 
    758         pimpl()->remove_torrent_wipe_files(hal::to_wstr_shim(filename)); 
     756void bit::remove_torrent_wipe_files_wstr(const std::wstring& filename, remove_files f) 
     757{ 
     758        pimpl()->remove_torrent_wipe_files(hal::to_wstr_shim(filename), f); 
    759759} 
    760760 
Note: See TracChangeset for help on using the changeset viewer.