Last change
on this file since 41 was 34, checked in by Nicholas Riley, 22 years ago |
Changes for Pester 1.1d1.
|
File size:
633 bytes
|
Rev | Line | |
---|
[34] | 1 | /* NJRFSObjectSelector */
|
---|
| 2 |
|
---|
| 3 | #import <Cocoa/Cocoa.h>
|
---|
| 4 | #import "BDAlias.h"
|
---|
| 5 |
|
---|
| 6 | @interface NJRFSObjectSelector : NSButton
|
---|
| 7 | {
|
---|
| 8 | BDAlias *selectedAlias;
|
---|
| 9 | NSArray *fileTypes;
|
---|
| 10 | BOOL canChooseDirectories;
|
---|
| 11 | BOOL canChooseFiles;
|
---|
| 12 | BOOL dragAccepted;
|
---|
| 13 | }
|
---|
| 14 | - (IBAction)select:(id)sender;
|
---|
| 15 | - (void)setAlias:(BDAlias *)alias;
|
---|
| 16 | - (BDAlias *)alias;
|
---|
| 17 | - (BOOL)acceptsPath:(NSString *)path;
|
---|
| 18 | - (void)setPath:(NSString *)path; // does not validate
|
---|
| 19 | - (BOOL)canChooseDirectories;
|
---|
| 20 | - (BOOL)canChooseFiles;
|
---|
| 21 | - (void)setCanChooseDirectories:(BOOL)flag;
|
---|
| 22 | - (void)setCanChooseFiles:(BOOL)flag;
|
---|
| 23 | - (NSArray *)fileTypes;
|
---|
| 24 | - (void)setFileTypes:(NSArray *)types;
|
---|
| 25 |
|
---|
| 26 | @end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.