-
-
Notifications
You must be signed in to change notification settings - Fork 134
/
TPFileTransfer.h
44 lines (34 loc) · 898 Bytes
/
TPFileTransfer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// TPFileTransfer.h
// teleport
//
// Created by JuL on 14/02/05.
// Copyright 2003-2005 abyssoft. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <CoreServices/CoreServices.h>
#import "TPTransfer.h"
#import "TPFileSerialization.h"
typedef NS_ENUM(NSInteger, TPFileTransferPhase) {
TPFileTransferPromisePhase,
TPFileTransferDataPhase
} ;
@class NSFilePromiseDragSource;
@interface TPOutgoingFileTransfer : TPOutgoingTransfer <TPFileArchiverDelegate>
{
TPFileArchiver * _archiver;
NSImage * _dragImage;
NSPoint _dragImageLocation;
}
- (void)setFilePaths:(NSArray*)filePaths dragImage:(NSImage*)image location:(NSPoint)point;
@end
@interface TPIncomingFileTransfer : TPIncomingTransfer
{
NSArray * _representedFiles;
NSImage * _dragImage;
NSPoint _dragImageLocation;
NSMutableDictionary * _destinationPaths;
float _progress;
TPFileUnarchiver * _unarchiver;
}
@end