Annotation of chimera/MainController.h, revision 1.17

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

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