1 /* vim: set ft=objc ts=4 nowrap: */
2 /* All Rights reserved */
3 
4 #ifndef FREEDBVIEW_H_INCLUDED
5 #define FREEDBVIEW_H_INCLUDED
6 
7 #include <AppKit/AppKit.h>
8 
9 @interface FreeDBView : NSObject
10 {
11   id view;
12   id window;
13   id autoQueryButton;
14   id serverTextField;
15   id serversTableView;
16 
17   // Other ivars
18   NSMutableArray *siteList;
19   Class cddbClass;
20 }
21 
22 - (id) init;
23 - (id) initWithNibName: (NSString *) nibName;
24 
25 - (void) saveChanges;
26 
27 - (NSString *) name;
28 - (NSView *) view;
29 
30 - (void) listOfSites: (id)sender;
31 
32 - (void) tableViewSelectionDidChange: (NSNotification *) not;
33 - (int) numberOfRowsInTableView: (NSTableView *) aView;
34 - (id) tableView: (NSTableView *) aView
35            objectValueForTableColumn: (NSTableColumn *) aColumn
36            row: (int) row;
37 
38 + (id) singleInstance;
39 
40 @end
41 
42 #endif
43