/* MasterController */

#import <Cocoa/Cocoa.h>
#import "ApplicationController.h"
#import "PreferencesController.h"
#import "URLFetcher.h"

@interface MasterController : NSObject
{
    IBOutlet ApplicationController *applicationController;
    IBOutlet PreferencesController *preferencesController;
    IBOutlet NSMenu *mainMenu;
    IBOutlet NSMenuItem *qualityMenu;
    IBOutlet NSMenuItem *standardQualityControl;
    IBOutlet NSMenuItem *highQualityControl;
    IBOutlet NSMenuItem *manageEyeTVControl;
    IBOutlet NSMenuItem *closeTVWindowWhenInactiveControl;
    IBOutlet NSMenuItem *enableSecureServerControl;
    IBOutlet NSMenuItem *closeControl;
    IBOutlet NSWindow *preferencesWindow;

    NSString *_resourcePath;
    NSString *_cytvSupportPath;
    NSString *_cytvLogPath;
    NSString *_EyeTVPath;
    NSString *_EyeTVName;
    NSString *_EyeTVArchivePath;
    NSString *_EyeTVVersion;
    NSPropertyListFormat _EyeTVPrefsFormat;
    int _secureServerPort;
    int _secureServerPid;
    int _serverPort;
    int _serverPid;
    BOOL _manageEyeTV;
    BOOL _closeTVWindowWhenInactive;
    BOOL _EyeTVVersionAbove131;
    URLFetcher *_urlFetcher;
}
@end
