-
Notifications
You must be signed in to change notification settings - Fork 0
/
XeeCollisionPanel.h
45 lines (35 loc) · 1.15 KB
/
XeeCollisionPanel.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
44
45
#import <Cocoa/Cocoa.h>
#define XeeCollisionCancel 0
#define XeeCollisionReplace 1
#define XeeCollisionRename 2
@class XeeImage,XeeController,XeeView;
@interface XeeCollisionPanel:NSWindow
{
id enddelegate;
SEL endselector;
NSString *destinationpath;
int transfermode;
BOOL sheet;
IBOutlet XeeController *controller;
IBOutlet XeeView *icon;
IBOutlet NSTextField *titlefield;
IBOutlet NSTextField *oldsize;
IBOutlet NSTextField *oldformat;
IBOutlet NSTextField *olddate;
IBOutlet NSTextField *newsize;
IBOutlet NSTextField *newformat;
IBOutlet NSTextField *newdate;
IBOutlet NSTextField *namefield;
IBOutlet NSButton *renamebutton;
IBOutlet NSButton *replacebutton;
}
-(void)run:(NSWindow *)window sourceImage:(XeeImage *)srcimage size:(off_t)srcsize
date:(NSDate *)srcdate destinationPath:(NSString *)destpath mode:(int)mode
delegate:(id)delegate didEndSelector:(SEL)selector;
-(void)loadThumbnail:(XeeImage *)image;
-(IBAction)cancelClick:(id)sender;
-(IBAction)renameClick:(id)sender;
-(IBAction)replaceClick:(id)sender;
-(void)endWithReturnCode:(int)res path:(NSString *)destination;
-(void)controlTextDidChange:(NSNotification *)notification;
@end