summaryrefslogtreecommitdiffstats
path: root/src/uimac/ProfileController.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uimac/ProfileController.h')
-rw-r--r--src/uimac/ProfileController.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/uimac/ProfileController.h b/src/uimac/ProfileController.h
new file mode 100644
index 0000000..20bbc97
--- /dev/null
+++ b/src/uimac/ProfileController.h
@@ -0,0 +1,19 @@
+/* ProfileController */
+/* Copyright (c) 2003, see file COPYING for details. */
+
+#import <Cocoa/Cocoa.h>
+
+@interface ProfileController : NSObject
+{
+ IBOutlet NSTableView *tableView;
+ NSMutableArray *profiles;
+ int defaultIndex; // -1 if no default, else the index in profiles of @"default"
+}
+- (void)initProfiles;
+- (int)numberOfRowsInTableView:(NSTableView *)aTableView;
+- (id)tableView:(NSTableView *)aTableView
+ objectValueForTableColumn:(NSTableColumn *)aTableColumn
+ row:(int)rowIndex;
+- (NSString *)selected;
+- (NSTableView *)tableView; // allows MyController to set up firstResponder
+@end