mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-20 18:32:17 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/branches/UNSTABLE_0_4@19446 72102866-910b-0410-8b05-ffd578937521
121 lines
3.7 KiB
Objective-C
121 lines
3.7 KiB
Objective-C
/*
|
|
GNUstep ProjectCenter - http://www.gnustep.org
|
|
|
|
Copyright (C) 2001 Free Software Foundation
|
|
|
|
Authors: Philippe C.D. Robert <probert@siggraph.org>
|
|
Serg Stoyan <stoyan@on.com.ua>
|
|
|
|
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
|
|
|
|
#include <AppKit/AppKit.h>
|
|
|
|
#define PCSavePeriodDidChangeNotification @"PCSavePeriodDidChangeNotification"
|
|
#define PCPreferencesDidChangeNotification @"PCPreferencesDidChangeNotification"
|
|
|
|
@interface PCPrefController : NSObject
|
|
{
|
|
IBOutlet NSPanel *panel;
|
|
IBOutlet NSPopUpButton *popupButton;
|
|
IBOutlet NSBox *sectionsView;
|
|
|
|
IBOutlet NSBox *buildingView;
|
|
IBOutlet NSTextField *successField;
|
|
IBOutlet NSButton *setSuccessButton;
|
|
IBOutlet NSTextField *failureField;
|
|
IBOutlet NSButton *setFailureButton;
|
|
IBOutlet NSTextField *rootBuildDirField;
|
|
IBOutlet NSButton *rootBuildDirButton;
|
|
IBOutlet NSButton *promptOnClean;
|
|
|
|
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 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)loadPrefernces;
|
|
|
|
- (NSDictionary *)preferencesDict;
|
|
- (id)objectForKey:(NSString *)key;
|
|
- (NSString *)selectFileWithTypes:(NSArray *)types;
|
|
- (void)showPanel:(id)sender;
|
|
|
|
- (void)popupChanged:(id)sender;
|
|
|
|
- (void)setSuccessSound:(id)sender;
|
|
- (void)setFailureSound:(id)sender;
|
|
- (void)setRootBuildDir:(id)sender;
|
|
- (void)setPromptOnClean:(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;
|
|
|
|
- (void)setBundlePath:(id)sender;
|
|
|
|
@end
|
|
|
|
#endif
|
|
|