Changeset 465


Ignore:
Timestamp:
Jun 25, 2006, 6:49:29 PM (16 years ago)
Author:
livings124
Message:

I don't think these will be needed anymore.

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r463 r465  
    10921092- (void) attemptToStartAuto: (Torrent *) torrent
    10931093{
    1094     #warning should check if transfer was already done
    10951094    if (![torrent waitingToStart])
    10961095            return;
  • trunk/macosx/Torrent.h

    r457 r465  
    130130- (NSNumber *) orderValue;
    131131- (void) setOrderValue: (int) orderValue;
    132 - (void) incrementOrderValue;
    133 - (void) decrementOrderValue;
    134132
    135133- (NSArray *) fileList;
  • trunk/macosx/Torrent.m

    r464 r465  
    180180            [fStatusString appendFormat:
    181181                @"Downloading from %d of %d peer%s", [self peersUploading], [self totalPeers],
    182                 ([self totalPeers] == 1) ? "" : "s"];
     182                [self totalPeers] == 1 ? "" : "s"];
    183183           
    184184            int eta = [self eta];
     
    202202            [fStatusString appendFormat:
    203203                @"Seeding to %d of %d peer%s",
    204                 [self peersDownloading], [self totalPeers],
    205                 ([self totalPeers] == 1) ? "" : "s"];
     204                [self peersDownloading], [self totalPeers], [self totalPeers] == 1 ? "" : "s"];
    206205            break;
    207206
     
    529528{
    530529    fOrderValue = orderValue;
    531 }
    532 
    533 //two convenience mutators
    534 - (void) incrementOrderValue
    535 {
    536     fOrderValue++;
    537 }
    538 
    539 - (void) decrementOrderValue
    540 {
    541     fOrderValue--;
    542530}
    543531
Note: See TracChangeset for help on using the changeset viewer.