Changeset 11835


Ignore:
Timestamp:
Feb 6, 2011, 5:32:16 PM (11 years ago)
Author:
livings124
Message:

#3675 handle trashing data over RPD in the Mac client

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.h

    r11688 r11835  
    275275- (void) rpcAddTorrentStruct: (NSValue *) torrentStructPtr;
    276276- (void) rpcRemoveTorrent: (Torrent *) torrent;
     277- (void) rpcRemoveTorrentDeleteData: (Torrent *) torrent;
    277278- (void) rpcStartedStoppedTorrent: (Torrent *) torrent;
    278279- (void) rpcChangedTorrent: (Torrent *) torrent;
  • trunk/macosx/Controller.m

    r11756 r11835  
    44374437            break;
    44384438       
     4439        case TR_RPC_TORRENT_TRASHING:
     4440            [self performSelectorOnMainThread: @selector(rpcRemoveTorrentDeleteData:) withObject: torrent waitUntilDone: NO];
     4441            break;
     4442       
    44394443        case TR_RPC_TORRENT_CHANGED:
    44404444            [self performSelectorOnMainThread: @selector(rpcChangedTorrent:) withObject: torrent waitUntilDone: NO];
     
    44864490}
    44874491
     4492- (void) rpcRemoveTorrentDeleteData: (Torrent *) torrent
     4493{
     4494    [self confirmRemoveTorrents: [[NSArray arrayWithObject: torrent] retain] deleteData: YES];
     4495    [torrent release];
     4496}
     4497
    44884498- (void) rpcStartedStoppedTorrent: (Torrent *) torrent
    44894499{
Note: See TracChangeset for help on using the changeset viewer.