Annotation of chimera/MainController.h, revision 1.21

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.21    ! macserv    19: #import "MVPreferencesController.h"
1.17      hyatt      20: 
                     21: class BookmarksService;
1.1       hyatt      22: 
                     23: @interface MainController : NSObject 
                     24: {
1.2       hyatt      25:     IBOutlet id mApplication;
1.9       hyatt      26:     
                     27:     // The following two items are used by the filter list when saving files.
                     28:     IBOutlet id mFilterView;
                     29:     IBOutlet id mFilterList;
1.11      hyatt      30:     
                     31:     IBOutlet id mOfflineMenuItem;
                     32:     
1.16      hyatt      33:     // The bookmarks menu.
                     34:     IBOutlet id mBookmarksMenu;
                     35:     
1.11      hyatt      36:     BOOL mOffline;
1.16      hyatt      37:     
                     38:     BookmarksService* mMenuBookmarks;
1.21    ! macserv    39: 
        !            40:     MVPreferencesController    *preferencesController;
1.2       hyatt      41: }
1.1       hyatt      42: 
1.18      hyatt      43: -(void)dealloc;
                     44: 
1.6       hyatt      45: // File menu actions.
1.2       hyatt      46: -(IBAction) newWindow:(id)aSender;
1.19      hyatt      47: -(IBAction) newTab:(id)aSender;
1.6       hyatt      48: -(IBAction) openFile:(id)aSender;
                     49: -(IBAction) openLocation:(id)aSender;
1.8       hyatt      50: -(IBAction) savePage:(id)aSender;
1.14      hyatt      51: -(IBAction) printPreview:(id)aSender;
1.10      hyatt      52: -(IBAction) printPage:(id)aSender;
1.8       hyatt      53: -(IBAction) toggleOfflineMode:(id)aSender;
1.6       hyatt      54: 
1.12      hyatt      55: // Edit menu actions.
                     56: -(IBAction) findInPage:(id)aSender;
1.14      hyatt      57: -(IBAction) findAgain:(id)aSender;
1.12      hyatt      58: 
1.6       hyatt      59: // Go menu actions.
1.20      hyatt      60: -(IBAction) goBack:(id)aSender;
                     61: -(IBAction) goForward:(id)aSender;
                     62: -(IBAction) goHome:(id)aSender;
1.6       hyatt      63: 
                     64: // View menu actions.
1.20      hyatt      65: -(IBAction) doReload:(id)aSender;
                     66: -(IBAction) doStop:(id)aSender;
1.1       hyatt      67: 
1.15      hyatt      68: // Bookmarks menu actions.
                     69: -(IBAction) addBookmark:(id)aSender;
1.17      hyatt      70: -(IBAction) openMenuBookmark:(id)aSender;
1.15      hyatt      71: 
1.7       hyatt      72: -(BrowserWindowController*)openBrowserWindowWithURLString: (NSString*)aURL;
                     73: -(BrowserWindowController*)openBrowserWindowWithURL: (NSURL*)aURL;
1.21    ! macserv    74: 
        !            75: - (MVPreferencesController *)preferencesController;
        !            76: - (void)displayPreferencesWindow:sender;
1.1       hyatt      77: 
                     78: @end

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