ProjectManager  0.2
UserPipePreferences.h
00001 /*
00002     UserPipePreferences.h
00003 
00004     Interface declaration of the UserPipePreferences class for the
00005     ProjectManager application.
00006 
00007     Copyright (C) 2005  Saso Kiselkov
00008 
00009     This program is free software; you can redistribute it and/or modify
00010     it under the terms of the GNU General Public License as published by
00011     the Free Software Foundation; either version 2 of the License, or
00012     (at your option) any later version.
00013 
00014     This program is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017     GNU General Public License for more details.
00018 
00019     You should have received a copy of the GNU General Public License
00020     along with this program; if not, write to the Free Software
00021     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00022 */
00023 
00024 #import <Foundation/NSObject.h>
00025 #import "../../PreferencesModule.h"
00026 
00027 @class NSMutableDictionary, NSArray;
00028 @class NSString, NSTableView, NSTableColumn;
00029 
00030 @interface UserPipePreferences : NSObject <PreferencesModule>
00031 {
00032   id view;
00033   id bogusWindow;
00034   id table;
00035 
00036   NSMutableDictionary * userPipes;
00037   NSArray * sortedKeys;
00038 }
00039 
00040 + (NSString *) name;
00041 
00042 - (NSView *) view;
00043 
00044 - (void) add: sender;
00045 - (void) remove: sender;
00046 
00047 - (int) numberOfRowsInTableView: (NSTableView *)aTableView;
00048 - (id) tableView: (NSTableView *)aTableView 
00049 objectValueForTableColumn: (NSTableColumn *)aTableColumn 
00050              row: (int)rowIndex;
00051 - (BOOL)tableView: (NSTableView *)aTableView 
00052 shouldEditTableColumn: (NSTableColumn *)aTableColumn 
00053               row: (int)rowIndex;
00054 - (void) tableView: (NSTableView *)aTableView 
00055     setObjectValue: (id)anObject 
00056     forTableColumn: (NSTableColumn *)aTableColumn
00057                row: (int)rowIndex;
00058 
00059 @end