summaryrefslogtreecommitdiffstats
path: root/src/uimac/ProfileController.h
blob: 20bbc970fbb790a27145695c676c58bba18b083b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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