File:  [mozdev] / chimera / MainController.h
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Wed Jan 30 22:43:11 2002 UTC (16 years, 10 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
The open location command is now hooked up in the menu!  New windows properly focus their url bar now.

/*
 *  Chimera.app
 *  Cocoa application which embeds Gecko
 *
 *  MainController.h
 *  ---------------------------------------------------
 *  The primary NSObject subclass which handles menuItems, app delegation,
 *	etc.
 *
 *  Code owners:
 * 		David Hyatt		<hyatt@netscape.com>
 *		Matt Judy		<matt@nibfile.com>
 *
 *  Copyright (c) 2002 Mozilla.org.  All rights reserved.
 */

#import <Cocoa/Cocoa.h>
#import "BrowserWindowController.h"

@interface MainController : NSObject 
{
    IBOutlet id mApplication;
}

// File menu actions.
-(IBAction) newWindow:(id)aSender;
-(IBAction) openFile:(id)aSender;
-(IBAction) openLocation:(id)aSender;

// Go menu actions.
-(IBAction) back:(id)aSender;
-(IBAction) forward:(id)aSender;
-(IBAction) home:(id)aSender;

// View menu actions.
-(IBAction) reload:(id)aSender;
-(IBAction) stop:(id)aSender;

-(BrowserWindowController*)openBrowserWindowWithURL: (NSString*)aURL;

@end

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>