mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
refactor some of the torrent opening code
This commit is contained in:
@@ -38,6 +38,14 @@
|
||||
|
||||
@class TorrentTableView;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
ADD_NORMAL,
|
||||
ADD_SHOW_OPTIONS,
|
||||
ADD_URL,
|
||||
ADD_CREATED
|
||||
} addType;
|
||||
|
||||
@interface Controller : NSObject <GrowlApplicationBridgeDelegate>
|
||||
{
|
||||
tr_handle * fLib;
|
||||
@@ -109,8 +117,7 @@
|
||||
}
|
||||
|
||||
- (void) openFiles: (NSArray *) filenames;
|
||||
- (void) openFiles: (NSArray *) filenames forcePath: (NSString *) path ignoreDownloadFolder: (BOOL) ignore
|
||||
deleteTorrentFile: (torrentFileState) deleteTorrent;
|
||||
- (void) openFiles: (NSArray *) filenames addType: (addType) type forcePath: (NSString *) path;
|
||||
- (void) askOpenConfirmed: (Torrent *) torrent;
|
||||
- (void) openCreatedFile: (NSNotification *) notification;
|
||||
- (void) openFilesWithDict: (NSDictionary *) dictionary;
|
||||
|
||||
Reference in New Issue
Block a user