File:  [mozdev] / chimera / MainController.h
Revision 1.15: download - view: text, annotated - select for diffs - revision graph
Sat Feb 9 20:31:06 2002 UTC (17 years, 9 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Deleting of bookmarks works.  You must update your mozilla tree again.  mozilla/extensions/xmlextras and then make in that dir.

    1: /*
    2:  *  Chimera.app
    3:  *  Cocoa application which embeds Gecko
    4:  *
    5:  *  MainController.h
    6:  *  ---------------------------------------------------
    7:  *  The primary NSObject subclass which handles menuItems, app delegation,
    8:  *	etc.
    9:  *
   10:  *  Code owners:
   11:  * 		David Hyatt		<hyatt@netscape.com>
   12:  *		Matt Judy		<matt@nibfile.com>
   13:  *
   14:  *  Copyright (c) 2002 Mozilla.org.  All rights reserved.
   15:  */
   16: 
   17: #import <Cocoa/Cocoa.h>
   18: #import "BrowserWindowController.h"
   19: 
   20: @interface MainController : NSObject 
   21: {
   22:     IBOutlet id mApplication;
   23:     
   24:     // The following two items are used by the filter list when saving files.
   25:     IBOutlet id mFilterView;
   26:     IBOutlet id mFilterList;
   27:     
   28:     IBOutlet id mOfflineMenuItem;
   29:     
   30:     BOOL mOffline;
   31: }
   32: 
   33: // File menu actions.
   34: -(IBAction) newWindow:(id)aSender;
   35: -(IBAction) openFile:(id)aSender;
   36: -(IBAction) openLocation:(id)aSender;
   37: -(IBAction) savePage:(id)aSender;
   38: -(IBAction) printPreview:(id)aSender;
   39: -(IBAction) printPage:(id)aSender;
   40: -(IBAction) toggleOfflineMode:(id)aSender;
   41: 
   42: // Edit menu actions.
   43: -(IBAction) findInPage:(id)aSender;
   44: -(IBAction) findAgain:(id)aSender;
   45: 
   46: // Go menu actions.
   47: -(IBAction) back:(id)aSender;
   48: -(IBAction) forward:(id)aSender;
   49: -(IBAction) home:(id)aSender;
   50: 
   51: // View menu actions.
   52: -(IBAction) reload:(id)aSender;
   53: -(IBAction) stop:(id)aSender;
   54: 
   55: // Bookmarks menu actions.
   56: -(IBAction) addBookmark:(id)aSender;
   57: 
   58: -(BrowserWindowController*)openBrowserWindowWithURLString: (NSString*)aURL;
   59: -(BrowserWindowController*)openBrowserWindowWithURL: (NSURL*)aURL;
   60: 
   61: @end

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