Annotation of chimera/MainController.h, revision 1.16

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.16    ! hyatt      19: #include "BookmarksService.h"
1.1       hyatt      20: 
                     21: @interface MainController : NSObject 
                     22: {
1.2       hyatt      23:     IBOutlet id mApplication;
1.9       hyatt      24:     
                     25:     // The following two items are used by the filter list when saving files.
                     26:     IBOutlet id mFilterView;
                     27:     IBOutlet id mFilterList;
1.11      hyatt      28:     
                     29:     IBOutlet id mOfflineMenuItem;
                     30:     
1.16    ! hyatt      31:     // The bookmarks menu.
        !            32:     IBOutlet id mBookmarksMenu;
        !            33:     
1.11      hyatt      34:     BOOL mOffline;
1.16    ! hyatt      35:     
        !            36:     BookmarksService* mMenuBookmarks;
1.2       hyatt      37: }
1.1       hyatt      38: 
1.6       hyatt      39: // File menu actions.
1.2       hyatt      40: -(IBAction) newWindow:(id)aSender;
1.6       hyatt      41: -(IBAction) openFile:(id)aSender;
                     42: -(IBAction) openLocation:(id)aSender;
1.8       hyatt      43: -(IBAction) savePage:(id)aSender;
1.14      hyatt      44: -(IBAction) printPreview:(id)aSender;
1.10      hyatt      45: -(IBAction) printPage:(id)aSender;
1.8       hyatt      46: -(IBAction) toggleOfflineMode:(id)aSender;
1.6       hyatt      47: 
1.12      hyatt      48: // Edit menu actions.
                     49: -(IBAction) findInPage:(id)aSender;
1.14      hyatt      50: -(IBAction) findAgain:(id)aSender;
1.12      hyatt      51: 
1.6       hyatt      52: // Go menu actions.
1.2       hyatt      53: -(IBAction) back:(id)aSender;
                     54: -(IBAction) forward:(id)aSender;
1.6       hyatt      55: -(IBAction) home:(id)aSender;
                     56: 
                     57: // View menu actions.
1.2       hyatt      58: -(IBAction) reload:(id)aSender;
                     59: -(IBAction) stop:(id)aSender;
1.1       hyatt      60: 
1.15      hyatt      61: // Bookmarks menu actions.
                     62: -(IBAction) addBookmark:(id)aSender;
                     63: 
1.7       hyatt      64: -(BrowserWindowController*)openBrowserWindowWithURLString: (NSString*)aURL;
                     65: -(BrowserWindowController*)openBrowserWindowWithURL: (NSURL*)aURL;
1.1       hyatt      66: 
                     67: @end

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