/* ATVDeviceController */ #import #import @protocol ATVDeviceControllerDelegate - (void)servicesFound:(NSArray *)services; @end @interface ATVDeviceController : NSObject { IBOutlet id hostNameField; IBOutlet id deviceList; IBOutlet id apiVersionLabel; IBOutlet id osVersionLabel; IBOutlet NSWindow *myWindow; IBOutlet NSPopUpButton *theComboBox; IBOutlet NSArrayController *deviceController; BOOL searching; NSNetServiceBrowser * browser; NSMutableArray * services; NSMutableData * currentDownload; NSArray *receivedFiles; NSDictionary *deviceDictionary; } @property (nonatomic, strong) IBOutlet NSPopUpButton *theComboBox; @property (nonatomic, strong) NSArrayController *deviceController; @property (readwrite, weak) id delegate; - (NSDictionary *)deviceDictionary; - (NSDictionary *)stringDictionaryFromService:(NSNetService *)theService; - (IBAction)serviceClicked:(id)sender; - (IBAction)menuItemSelected:(id)sender; - (NSDictionary *)currentServiceDictionary; @end