Source

Murky_tip / Source / MercurialApp.h

Full commit
//
//  MercurialApp.h
//  Murky
//
//  Copyright 2008-2009 Jens Alfke. All rights reserved.
//

#import <Cocoa/Cocoa.h>


/** The main application delegate class of Murky. */
@interface MercurialApp : NSObject
{
    IBOutlet NSPanel *_clonePanel;
    IBOutlet NSTextField *_cloneSrcURLField, *_cloneDstURLField;
    IBOutlet NSButton *_cloneSrcChooseButton;
    
    IBOutlet NSPopUpButton *_textEditorPreferenceButton;
}    

- (BOOL) openRepository: (NSString*)path remember: (BOOL)remember;

- (IBAction) runOpenPanel: (id)sender;
- (IBAction) runNewPanel: (id)sender;
- (IBAction) runClonePanel: (id)sender;
- (IBAction) beginClonePanelSrcFilePicker: (id)sender;
- (IBAction) beginClonePanelDstFilePicker: (id)sender;
- (IBAction) dismissClonePanel: (id)sender;
- (IBAction) openHelpWebPage: (id)sender;

- (IBAction) showProjectsWindow: (id)sender;

- (NSArray *)supportedTextEditors;
- (IBAction) showPreferences:(id)sender;
- (IBAction) selectTextEditor:(id)sender;

@end


extern MercurialApp *gMercurialApp;