/* Preferences */

#import <Cocoa/Cocoa.h>


@interface Preferences : NSObject
{
    IBOutlet id _vh7pc;
    IBOutlet id _mainCtrl;
    IBOutlet id _directCtrl;
    IBOutlet id _hotkeyCtrl;
    IBOutlet id _controllerController;
    IBOutlet id _tunerHotkey;
    IBOutlet id _cdHotkey;
    
    IBOutlet id _prefPanel;
    IBOutlet id _autoPowerCheck;
    IBOutlet id _rememberVolumeCheck;
    IBOutlet id _controllerTopLevelCheck;
    IBOutlet id _controllerShowaAtLaunchCheck;
    IBOutlet id _controllerAlphaSlider;
    //IBOutlet id _sbItemShowAtLaunchCheck;
    
    IBOutlet id _controllerWindow;

 	IBOutlet id	recordDestField_;
	IBOutlet id	playWhileRecCheck_;

	NSDictionary *_prefs;
    NSDictionary *_controllerPrefs;


    IBOutlet id _recoder;
    IBOutlet id reservation_;
}

-(void)setPrefsWithDictionary:(NSDictionary *)d;
-(void)setControllerPrefsWithDictionary:(NSDictionary *)d;

-(BOOL)autoPower;
-(BOOL)rememberVolume;
//-(BOOL)sbItemShowAtLaunch;

-(BOOL)controllerTopLevel;
-(BOOL)controllerShowaAtLaunch;
-(double)controllerAlphaValue;

-(IBAction)prefOKButton:(id)sender;
- (IBAction) changeRecordDest:(id) sender;

-(id)_vh7pc;

@end
