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
|
|
|
|
2001-08-03 14:23:25 +00:00
|
|
|
Copyright (C) 2001 Free Software Foundation
|
2000-08-27 19:11:42 +00:00
|
|
|
|
2001-08-03 14:23:25 +00:00
|
|
|
Author: Philippe C.D. Robert <phr@3dkit.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-17 20:03:47 +00:00
|
|
|
#ifndef _PCPREFCONTROLLER_H
|
|
|
|
#define _PCPREFCONTROLLER_H
|
|
|
|
|
2000-08-27 19:11:42 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
|
|
|
|
@interface PCPrefController : NSObject
|
|
|
|
{
|
|
|
|
id prefWindow;
|
|
|
|
id prefPopup;
|
|
|
|
|
|
|
|
id prefEmptyView;
|
|
|
|
id prefBuildingView;
|
|
|
|
id prefMiscView;
|
2002-02-17 20:03:47 +00:00
|
|
|
id prefEditingView;
|
2000-08-27 19:11:42 +00:00
|
|
|
id prefSavingView;
|
|
|
|
|
2002-02-17 20:03:47 +00:00
|
|
|
id tabMatrix;
|
|
|
|
|
2000-08-27 19:11:42 +00:00
|
|
|
id successField;
|
|
|
|
id failureField;
|
|
|
|
|
2001-01-14 15:38:41 +00:00
|
|
|
id autoSaveField;
|
|
|
|
id saveAutomatically;
|
2001-12-29 14:10:57 +00:00
|
|
|
id keepBackup;
|
|
|
|
id saveOnQuit;
|
2000-09-17 14:40:56 +00:00
|
|
|
|
|
|
|
id useExternalEditor;
|
2001-01-14 15:38:41 +00:00
|
|
|
id promptWhenQuit;
|
|
|
|
id promptOnClean;
|
2000-08-27 19:11:42 +00:00
|
|
|
|
|
|
|
id editorField;
|
|
|
|
id debuggerField;
|
|
|
|
id compilerField;
|
|
|
|
id bundlePathField;
|
|
|
|
|
|
|
|
NSMutableDictionary *preferencesDict;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (id)init;
|
|
|
|
- (void)dealloc;
|
|
|
|
|
|
|
|
- (void)showPrefWindow:(id)sender;
|
|
|
|
- (void)popupChanged:(id)sender;
|
|
|
|
|
|
|
|
- (void)setSuccessSound:(id)sender;
|
|
|
|
- (void)setFailureSound:(id)sender;
|
|
|
|
- (void)setPromptOnClean:(id)sender;
|
|
|
|
|
|
|
|
- (void)setSaveAutomatically:(id)sender;
|
2001-12-29 14:10:57 +00:00
|
|
|
- (void)setKeepBackup:(id)sender;
|
2000-08-27 19:11:42 +00:00
|
|
|
- (void)setSavePeriod:(id)sender;
|
2001-12-29 14:10:57 +00:00
|
|
|
- (void)setSaveOnQuit:(id)sender;
|
2000-08-27 19:11:42 +00:00
|
|
|
|
2000-09-17 14:40:56 +00:00
|
|
|
- (void)setUseExternalEditor:(id)sender;
|
|
|
|
|
2000-08-27 19:11:42 +00:00
|
|
|
- (void)setEditor:(id)sender;
|
|
|
|
- (void)setCompiler:(id)sender;
|
|
|
|
- (void)setDebugger:(id)sender;
|
|
|
|
- (void)setBundlePath:(id)sender;
|
|
|
|
- (void)promptWhenQuitting:(id)sender;
|
|
|
|
|
2002-02-17 20:03:47 +00:00
|
|
|
- (void)setTabBehaviour:(id)sender;
|
|
|
|
|
2000-08-27 19:11:42 +00:00
|
|
|
- (NSDictionary *)preferencesDict;
|
|
|
|
|
|
|
|
- (NSString *)selectFileWithTypes:(NSArray *)types;
|
|
|
|
|
|
|
|
@end
|
2001-12-29 15:29:08 +00:00
|
|
|
|
|
|
|
extern NSString *SavePeriodDidChangeNotification;
|
|
|
|
|
2002-02-17 20:03:47 +00:00
|
|
|
#endif
|