2000-08-27 19:11:42 +00:00
|
|
|
/*
|
2001-08-03 14:23:25 +00:00
|
|
|
GNUstep ProjectCenter - http://www.gnustep.org
|
2000-08-27 19:11:42 +00:00
|
|
|
|
2002-11-27 18:41:07 +00:00
|
|
|
Copyright (C) 2000-2002 Free Software Foundation
|
2000-08-27 19:11:42 +00:00
|
|
|
|
2002-11-24 12:23:47 +00:00
|
|
|
Author: Philippe C.D. Robert <probert@siggraph.org>
|
2000-08-27 19:11:42 +00:00
|
|
|
|
2001-08-03 14:23:25 +00:00
|
|
|
This file is part of GNUstep.
|
2000-08-27 19:11:42 +00:00
|
|
|
|
|
|
|
This application is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This application is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Library General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public
|
|
|
|
License along with this library; if not, write to the Free
|
|
|
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
|
|
|
|
|
|
|
$Id$
|
|
|
|
*/
|
|
|
|
|
2002-02-02 21:12:49 +00:00
|
|
|
#ifndef _PCBROWSERCONTROLLER_H
|
|
|
|
#define _PCBROWSERCONTROLLER_H
|
|
|
|
|
2003-04-21 13:46:10 +00:00
|
|
|
#include <AppKit/AppKit.h>
|
2000-08-27 19:11:42 +00:00
|
|
|
|
|
|
|
@class PCProject;
|
|
|
|
|
|
|
|
@interface PCBrowserController : NSObject
|
|
|
|
{
|
|
|
|
id browser;
|
|
|
|
PCProject *project;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (void)dealloc;
|
|
|
|
|
|
|
|
- (void)click:(id)sender;
|
|
|
|
- (void)doubleClick:(id)sender;
|
|
|
|
|
2003-01-26 03:43:19 +00:00
|
|
|
- (BOOL)isEditableCategory:(NSString *)category file: (NSString *)title;
|
2002-02-21 10:05:42 +00:00
|
|
|
|
2000-08-27 19:11:42 +00:00
|
|
|
- (void)projectDictDidChange:(NSNotification *)aNotif;
|
|
|
|
|
2003-05-16 14:06:51 +00:00
|
|
|
- (NSArray *)selectedFiles;
|
2000-08-27 19:11:42 +00:00
|
|
|
- (NSString *)nameOfSelectedFile;
|
|
|
|
- (NSString *)pathOfSelectedFile;
|
|
|
|
|
|
|
|
- (void)setBrowser:(NSBrowser *)aBrowser;
|
|
|
|
- (void)setProject:(PCProject *)aProj;
|
2003-05-29 08:23:43 +00:00
|
|
|
- (BOOL)setPathForFile:(NSString *)file category:(NSString *)category;
|
2000-08-27 19:11:42 +00:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface PCBrowserController (ProjectBrowserDelegate)
|
|
|
|
|
|
|
|
- (void)browser:(NSBrowser *)sender createRowsForColumn:(int)column inMatrix:(NSMatrix *)matrix;
|
|
|
|
|
|
|
|
@end
|
2002-02-02 21:12:49 +00:00
|
|
|
|
|
|
|
#endif
|