//
//  DirectController.h
//  VH7PC_Controller
//
//  Created by NYA on Wed Jul 09 2003.
//  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum{
    usbM,fmM,amM,cdM,mdM,tapeM
} inputTag;

typedef enum{
    bandM,autoM,upM,downM,phsearchM
} bandTag;

typedef enum{
    playcdM,stopcdM,nextcdM,prevcdM,repcdM,randcdM,ejectcdM,
    searchcdM,ffcdM,fbcdM
} cdTag;

typedef enum{
    playmdM,stopmdM,nextmdM,prevmdM,repmdM,randmdM,ejectmdM
} mdTag;

typedef enum{
    fwdplayM,revplayM,stoptpM,ffM,frM,playtpM
} tapeTag;

@interface DirectController : NSObject {
    IBOutlet id _vh7pc;
    IBOutlet id _mainCtrl;
    IBOutlet id _prefs;
    
    IBOutlet id _controllerPanel;
    IBOutlet id _controllerController;

    int _inputVolume[6];
    BOOL _controllerShowed;
}

-(BOOL)controllerShowed;
-(NSDictionary *)prefs;
-(void)setPrefsWithDictionary:(NSDictionary *)d;

-(IBAction)power:(id)sender;
-(IBAction)changeInput:(id)sender;
-(IBAction)changeVolume:(id)sender;
-(IBAction)mute:(id)sender;
-(IBAction)tone:(id)sender;

-(IBAction)band:(id)sender;
-(IBAction)cd:(id)sender;
-(IBAction)md:(id)sender;
-(IBAction)tape:(id)sender;

-(IBAction)triggerController:(id)sender;

@end
