aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPChooseMenuItemDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPChooseMenuItemDialog.h')
-rw-r--r--Source/SPChooseMenuItemDialog.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/SPChooseMenuItemDialog.h b/Source/SPChooseMenuItemDialog.h
index e268ab84..3513c2a6 100644
--- a/Source/SPChooseMenuItemDialog.h
+++ b/Source/SPChooseMenuItemDialog.h
@@ -24,17 +24,22 @@
#import <Cocoa/Cocoa.h>
+@class SPChooseMenuItemDialogTextView;
@interface SPChooseMenuItemDialog : NSWindow
{
NSMenu *contextMenu;
- NSTextView *tv;
+ NSInteger selectedItemIndex;
+ BOOL waitForChoice;
+ SPChooseMenuItemDialogTextView *dummyTextView;
}
-@property(readwrite,retain) NSMenu* contextMenu;
+@property(readwrite, retain) NSMenu* contextMenu;
+@property(readwrite, assign) NSInteger selectedItemIndex;
+@property(readwrite, assign) BOOL waitForChoice;
-- (void)initMeWithOptions:(NSDictionary *)displayOptions;
-+ (void)displayMenu:(NSMenu*)theMenu atPosition:(NSPoint)location;
+- (void)initDialog;
++ (NSInteger)withItems:(NSArray*)theList atPosition:(NSPoint)location;
@end