Files
textmate/Applications/TextMate/src/AppController.h
Allan Odgaard 2bfe82fae4 Remove the AppStartup delegate
This temporary delegate was primarily used to ensure no message “slipped through” back when a license key was mandatory to run the alpha.
2013-02-03 10:48:40 +01:00

51 lines
1.0 KiB
Objective-C

namespace find_tags
{
enum
{
in_document = 1,
in_selection,
in_project,
in_folder,
};
}
@interface AppController : NSObject <NSMenuDelegate>
{
IBOutlet NSMenu* bundlesMenu;
IBOutlet NSMenu* themesMenu;
IBOutlet NSMenu* spellingMenu;
IBOutlet NSPanel* goToLinePanel;
IBOutlet NSTextField* goToLineTextField;
struct
{
std::string filter_string;
BOOL key_equivalent;
BOOL all_scopes;
int search_type;
} bundleItemSearch;
}
- (IBAction)orderFrontFindPanel:(id)sender;
- (IBAction)orderFrontGoToLinePanel:(id)sender;
- (IBAction)performGoToLine:(id)sender;
- (IBAction)showBundleItemChooser:(id)sender;
- (IBAction)showPreferences:(id)sender;
- (IBAction)showBundleEditor:(id)sender;
- (IBAction)newDocumentAndActivate:(id)sender;
- (IBAction)openDocumentAndActivate:(id)sender;
@end
@interface AppController (Documents)
- (void)newDocument:(id)sender;
- (void)openDocument:(id)sender;
- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication*)sender;
@end
void OakOpenDocuments (NSArray* paths);