/*
 * TeXShop - TeX editor for Mac OS
 * Copyright (C) 2000-2005 Richard Koch
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 * $Id: TSAppDelegate.h 260 2007-08-08 22:51:09Z richard_koch $
 *
 * Created by dirk on Tue Jan 23 2001.
 *
 */

#import "UseMitsu.h"
#import "TSMovie.h"

#import <Cocoa/Cocoa.h>

@class OgreTextFinder;

@interface TSAppDelegate : NSObject <NSUserNotificationCenterDelegate>
{
}

@property           BOOL      forPreview;
@property (retain)  TSMovie   *myMovie;

- (IBAction)displayMatrixPanel:(id)sender; //  MatrixPanel Addition by Jonas 1.32 Nov 28 03
- (IBAction)openForPreview:(id)sender;
- (IBAction)displayLatexPanel:(id)sender;
// - (IBAction)displayMatrixPanel:(id)sender;

- (BOOL)validateMenuItem:(NSMenuItem *)anItem;
- (IBAction)nextTeXWindow:(id)sender; // added by Taylor
- (IBAction)previousTeXWindow:(id)sender; // added by Taylor
// - (BOOL)forPreview;
- (void)finishCommandCompletionConfigure; // mitsu 1.29 (P)
- (void)openCommandCompletionList: (id)sender; // mitsu 1.29 (P)
#ifdef MITSU_PDF
- (void)changeImageCopyType: (id)sender; // mitsu 1.29 (O)
#endif
- (void)finishAutoCompletionConfigure;
- (void)finishMenuKeyEquivalentsConfigure;
- (void)configureExternalEditor;
// - (void)setForPreview: (BOOL)value;
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender;
- (void)ogreKitWillHackFindMenu:(OgreTextFinder*)textFinder;
- (IBAction)checkForUpdate:(id)sender; // Update checker
- (void)configureMovieMenu;
- (IBAction)doMovie:(id)sender;
// - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename;
- (void)makeDefaultEditor:(id)sender;
@end
