1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-03 18:25:35 +00:00

more ipc code removal

This commit is contained in:
Mitchell Livingston 2008-05-19 13:29:07 +00:00
parent 1982899be3
commit d3d39fce19
2 changed files with 3 additions and 7 deletions

View file

@ -115,8 +115,6 @@ typedef enum
NSMutableArray * fTempTorrentFiles;
BOOL fSoundPlaying;
BOOL fRemoteQuit;
}
- (void) openFiles: (NSArray *) filenames addType: (addType) type forcePath: (NSString *) path;

View file

@ -227,8 +227,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
fSoundPlaying = NO;
fRemoteQuit = NO;
[GrowlApplicationBridge setGrowlDelegate: self];
[[UKKQueue sharedFileWatcher] setDelegate: self];
}
@ -502,7 +500,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
- (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *) sender
{
if (!fUpdateInProgress && !fRemoteQuit && [fDefaults boolForKey: @"CheckQuit"])
if (!fUpdateInProgress && [fDefaults boolForKey: @"CheckQuit"])
{
int active = 0, downloading = 0;
Torrent * torrent;
@ -4048,7 +4046,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[[NSWorkspace sharedWorkspace] selectFile: location inFileViewerRootedAtPath: nil];
}
- (void) ipcQuit
/*- (void) ipcQuit
{
fRemoteQuit = YES;
[NSApp terminate: self];
@ -4215,6 +4213,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[self confirmRemoveTorrents: torrents deleteData: NO deleteTorrent: NO];
return YES;
}
}*/
@end