// // SCMSubmitDialog.h // SCMMenuExtra // // Created by Michael Bishop on 5/12/11. // Copyright 2011 Numerical Garden LLC. All rights reserved. // #import <Cocoa/Cocoa.h> @protocol SCMSubmitter <NSObject> -(void)submitFile:(NSString*)filepath withDescription:(NSString*)description completionBlock:(void(^)(NSError*))completion; @end @interface SCMSubmitDialog : NSWindowController { @private IBOutlet NSButton * submitButton; IBOutlet NSTextField * promptLabel; IBOutlet NSTextView *descriptionTextView; NSString * filepath; id<SCMSubmitter> submitter; } @property (nonatomic, readwrite, copy) NSString * filepath; @property (nonatomic, readonly) NSString * filename; @property (nonatomic, readwrite, assign) id<SCMSubmitter> submitter; -(IBAction)submit:(id)sender; @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 20722 | jdputsch | initial branch, prep for -Zapp= support | ||
//guest/michael_bishop/MacMenu/src/P4Menu/Source/SCMSubmitDialog.h | |||||
#1 | 8331 | Matt Attaway |
Adding initial version of MacMenu for Perforce MacMenu is a helpful Perforce client that sits in your toolbar. It allows you to run standard Perforce operations on the document that is open the currently active editor/viewer. |