Ignore:
Timestamp:
07/20/08 17:16:57 (12 years ago)
Author:
Eoin
Message:

Added ListViewIterators?.hpp.

Major find and replace of TorrentDetails? and associated classes to torrent_details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/HaliteDialog.cpp

    r495 r507  
    9999void HaliteDialog::OnPause(UINT, int, HWND) 
    100100{ 
    101         if (hal::TorrentDetail_ptr torrent = hal::bittorrent().torrentDetails().focusedTorrent())  
     101        if (hal::torrent_details_ptr torrent = hal::bittorrent().torrentDetails().focusedTorrent())  
    102102        { 
    103103                string torrentName = hal::to_utf8(torrent->name()); 
     
    120120void HaliteDialog::OnReannounce(UINT, int, HWND) 
    121121{ 
    122         if (hal::TorrentDetail_ptr torrent = hal::bittorrent().torrentDetails().focusedTorrent())  
     122        if (hal::torrent_details_ptr torrent = hal::bittorrent().torrentDetails().focusedTorrent())  
    123123                hal::bittorrent().reannounceTorrent(hal::to_utf8(torrent->name())); 
    124124} 
     
    126126void HaliteDialog::OnRemove(UINT, int, HWND) 
    127127{ 
    128         if (hal::TorrentDetail_ptr torrent = hal::bittorrent().torrentDetails().focusedTorrent())  
     128        if (hal::torrent_details_ptr torrent = hal::bittorrent().torrentDetails().focusedTorrent())  
    129129        { 
    130130                string torrentName = hal::to_utf8(torrent->name()); 
     
    153153} 
    154154 
    155 void HaliteDialog::DialogListView::uiUpdate(const hal::TorrentDetails& tD)  
     155void HaliteDialog::DialogListView::uiUpdate(const hal::torrent_details_manager& tD)  
    156156{        
    157157        hal::try_update_lock<listClass> lock(*this); 
     
    213213} 
    214214 
    215 void HaliteDialog::focusChanged(const hal::TorrentDetail_ptr pT) 
     215void HaliteDialog::focusChanged(const hal::torrent_details_ptr pT) 
    216216{ 
    217217        std::pair<float, float> tranLimit(-1.0, -1.0); 
     
    268268} 
    269269 
    270 void HaliteDialog::uiUpdate(const hal::TorrentDetails& tD) 
     270void HaliteDialog::uiUpdate(const hal::torrent_details_manager& tD) 
    271271{        
    272272        std::pair<float, float> tranLimit(-1.0, -1.0); 
    273273        std::pair<int, int> connLimit(-1, -1); 
    274274         
    275         if (hal::TorrentDetail_ptr torrent = tD.focusedTorrent())        
     275        if (hal::torrent_details_ptr torrent = tD.focusedTorrent())      
    276276        {        
    277277                string torrent_name = hal::to_utf8(torrent->name()); 
Note: See TracChangeset for help on using the changeset viewer.