apps-projectcenter/Headers/PCPrefController.h
Sergii Stoian 4b2e398b0d * Start rewriting of PC preferences. "Build" preferences implemented
as loadable module. See Changelog for details.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27969 72102866-910b-0410-8b05-ffd578937521
2009-02-25 00:34:59 +00:00

111 lines
3.2 KiB
Objective-C

/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2001-2008 Free Software Foundation
This file is part of GNUstep.
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.
*/
#ifndef _PCPREFCONTROLLER_H
#define _PCPREFCONTROLLER_H
#import <AppKit/AppKit.h>
#import <Protocols/Preferences.h>
#ifndef PCDefaultDebugger
#define PCDefaultDebugger @"/usr/bin/gdb"
#endif
@interface PCPrefController : NSObject <PCPreferences>
{
NSUserDefaults *userDefaults;
IBOutlet NSPanel *panel;
IBOutlet NSPopUpButton *popupButton;
IBOutlet NSBox *sectionsView;
NSMutableDictionary *sectionsDict;
IBOutlet NSBox *savingView;
IBOutlet NSButton *saveOnQuit;
IBOutlet NSButton *keepBackup;
IBOutlet NSSlider *autosaveSlider;
IBOutlet NSTextField *autosaveField;
IBOutlet NSBox *keyBindingsView;
IBOutlet NSMatrix *tabMatrix;
IBOutlet NSButton *tabSpacesField;
IBOutlet NSBox *miscView;
IBOutlet NSButton *promptWhenQuit;
IBOutlet NSButton *deleteCache;
IBOutlet NSButton *fullPathInFilePanels;
IBOutlet NSTextField *debuggerField;
IBOutlet NSButton *debuggerButton;
IBOutlet NSTextField *editorField;
IBOutlet NSBox *interfaceView;
IBOutlet NSButton *separateBuilder;
IBOutlet NSButton *separateLauncher;
IBOutlet NSButton *separateEditor;
IBOutlet NSButton *separateLoadedFiles;
IBOutlet NSTextField *editorLinesField;
IBOutlet NSTextField *editorColumnsField;
IBOutlet NSButton *rememberWindows;
IBOutlet NSButton *displayLog;
IBOutlet NSBox *bundlesView;
IBOutlet NSTextField *bundlePathField;
NSMutableDictionary *preferencesDict;
}
+ (PCPrefController *)sharedPCPreferences;
- (id)init;
- (void)dealloc;
- (void)setDefaultValues;
- (void)loadPreferences;
//- (NSDictionary *)preferencesDict;
//- (id)objectForKey:(NSString *)key;
- (NSString *)selectFileWithTypes:(NSArray *)types;
- (void)showPanel:(id)sender;
- (void)popupChanged:(id)sender;
- (void)setSaveOnQuit:(id)sender;
- (void)setKeepBackup:(id)sender;
- (void)setSavePeriod:(id)sender;
- (void)setPromptWhenQuit:(id)sender;
- (void)setDeleteCache:(id)sender;
- (void)setFullPathInFilePanels:(id)sender;
- (void)setDebugger:(id)sender;
- (void)setEditor:(id)sender;
- (void)setDisplayPanels:(id)sender;
- (void)setEditorSize:(id)sender;
- (void)setEditorSizeEnabled:(BOOL)yn;
- (void)setRememberWindows:(id)sender;
- (void)setDisplayLog:(id)sender;
@end
#endif