Ignore:
Timestamp:
07/23/08 18:01:39 (12 years ago)
Author:
Eoin
Message:

Adding a 'queued view' mode to main listview.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/halTorrent.hpp

    r518 r519  
    238238                        float c=0, float d=0, size_type tWD=0, size_type tW=0, size_type tU=0, size_type tpU=0, size_type tD=0, size_type tpD=0, boost::tuple<size_type, size_type, size_type, size_type> connections = boost::tuple<size_type, size_type, size_type, size_type>(0,0,0,0), float r=0,  
    239239                        boost::posix_time::time_duration eta=boost::posix_time::seconds(0), boost::posix_time::time_duration uIn=boost::posix_time::seconds(0), 
    240                         boost::posix_time::time_duration actve=boost::posix_time::seconds(0), boost::posix_time::time_duration seding=boost::posix_time::seconds(0), boost::posix_time::ptime srt=boost::posix_time::second_clock::universal_time(), boost::posix_time::ptime fin=boost::posix_time::second_clock::universal_time()) : 
     240                        boost::posix_time::time_duration actve=boost::posix_time::seconds(0), boost::posix_time::time_duration seding=boost::posix_time::seconds(0), boost::posix_time::ptime srt=boost::posix_time::second_clock::universal_time(), boost::posix_time::ptime fin=boost::posix_time::second_clock::universal_time(), int q_p=-1) : 
    241241                filename_(f), 
    242242                name_(n), 
     
    265265                seeding_(seding), 
    266266                startTime_(srt), 
    267                 finishTime_(fin) 
     267                finishTime_(fin), 
     268                queue_position_(q_p) 
    268269        {} 
    269270 
     
    316317        const boost::posix_time::ptime& startTime() { return startTime_; } 
    317318        const boost::posix_time::ptime& finishTime() { return finishTime_; } 
     319 
     320        int queue_position() const { return queue_position_; } 
    318321         
    319322public: 
     
    349352        boost::posix_time::ptime startTime_; 
    350353        boost::posix_time::ptime finishTime_; 
     354 
     355        int queue_position_; 
    351356         
    352357private: 
Note: See TracChangeset for help on using the changeset viewer.