//
//  code.h
//  Macheads101-OSX
//
//  Created by Alex Nichol on 11/21/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>


@interface code : NSObject {
	IBOutlet WebView *mainVideoWebView;
	IBOutlet WebView *youtubeWebView;
	IBOutlet NSPanel *mainVideoWindow;
	IBOutlet NSPanel *aboutWindow;
	IBOutlet NSPanel *newsWindow;
	IBOutlet NSPanel *infoWindow;
	IBOutlet NSPanel *updateWindow;
	IBOutlet NSPanel *youtubeWindow;
	IBOutlet NSTextField *updateText;
	IBOutlet NSTextField *aboutText;
	IBOutlet NSTextField *newsText;
	IBOutlet NSTextField *infoText;
	IBOutlet NSButton *updateButton;
}
- (IBAction)latestVideoClick:(id)sender;
- (IBAction)closeLatestVideoClick:(id)sender;
- (IBAction)aboutClick:(id)sender;
- (IBAction)newsClick:(id)sender;
- (IBAction)infoClick:(id)sender;
- (IBAction)checkUpdatesClick:(id)sender;
- (IBAction)updateClick:(id)sender;
- (IBAction)youtubeClick:(id)sender;

- (IBAction)aboutCloseClick:(id)sender;
- (IBAction)newsCloseClick:(id)sender;
- (IBAction)infoCloseClick:(id)sender;
- (IBAction)updateCloseClick:(id)sender;
- (IBAction)youtubeCloseClick:(id)sender;

- (IBAction)youtubeButtonClick:(id)sender;
@end
