-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWatcherControl.h
executable file
·73 lines (61 loc) · 2.28 KB
/
WatcherControl.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//
// WatcherControl.h
// InWatch
//
// Created by Vagrod on 5/1/10.
// Copyright 2010 Home. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "WatcherItem.h"
@interface WatcherControl : NSView {
NSScrollView * viewFolders;
NSScrollView * viewWatchers;
NSPopUpButton * cmdAction;
NSMenuItem * mnuCopy;
NSMenuItem * mnuMove;
NSPathControl * cmdFolder;
NSButton * cmdTypes;
NSButton * cmdExceptions;
NSButton * cmdRemove;
NSTextField * lblTypes;
NSTextField * lblExceptions;
long Id;
long ParentId;
int moveInd;
}
@property int moveInd;
@property long Id;
@property long ParentId;
@property BOOL Paused;
@property (retain) NSPopUpButton * cmdAction;
@property (retain) NSMenuItem * mnuCopy;
@property (retain) NSMenuItem * mnuMove;
@property (retain) NSPathControl * cmdFolder;
@property (retain) NSButton * cmdTypes;
@property (retain) NSButton * cmdExceptions;
@property (retain) NSButton * cmdRemove;
@property (retain) NSTextField * lblTypes;
@property (retain) NSTextField * lblExceptions;
@property (retain) NSButton * cmdPause;
@property NSRect Bounds;
- (void) updateWatcher;
- (id) initWithFrame:(NSRect)frameRect andTypes: (NSMutableArray *)types Exceptions: (NSMutableArray *) exceptions Destination: (NSString *) destination MoveFiles: (BOOL) move Id: (long) ID ParentId: (long) parentid Paused: (BOOL) paused;
//- (id) initWithWatcher:(WatcherItem *)watcher andFrame: (NSRect) frame;
- (void) setToolbarButtonsBack: (NSToolbarItem *)goback newWatcher: (NSToolbarItem *)newwatcher newFolder: (NSToolbarItem *) newfolder;
- (void)didEndSheetForWatcher:(NSOpenPanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo;
NSString * ArrayToNSString(NSMutableArray * a);
NSMutableArray * NSStringToArray(NSString * s);
- (NSImage *) resizeImage: (NSImage *) sourceImage toSize: (NSSize) size;
- (void) FadeViews:(NSView *)v1 to:(NSView *)v2;
- (BOOL) getMoveFilesOptionSelected: (id) sender;
- (void) setFoldersView: (NSScrollView *) view;
- (void) setWatchersView: (NSScrollView *) view;
- (void) setWindow: (id) win;
- (void) mnuCopy_Click: (id) sender;
- (void) mnuMove_Click: (id) sender;
- (void) cmdRemove_Click: (id) sender;
- (void) cmdTypes_Click: (id) sender;
- (void) cmdExceptions_Click: (id) sender;
- (void) cmdFolder_Click: (id) sender;
- (void) dispose;
@end