mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
549f2c1d6a
This stops really long sheets when the output from git is very long.
33 lines
792 B
Objective-C
33 lines
792 B
Objective-C
//
|
|
// PBGitXMessageSheet.h
|
|
// GitX
|
|
//
|
|
// Created by BrotherBard on 7/4/10.
|
|
// Copyright 2010 BrotherBard. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
@interface PBGitXMessageSheet : NSWindowController
|
|
{
|
|
NSImageView *iconView;
|
|
NSTextField *messageField;
|
|
NSTextView *infoView;
|
|
NSScrollView *scrollView;
|
|
}
|
|
|
|
+ (void)beginMessageSheetForWindow:(NSWindow *)parentWindow withMessageText:(NSString *)message infoText:(NSString *)info;
|
|
+ (void)beginMessageSheetForWindow:(NSWindow *)parentWindow withError:(NSError *)error;
|
|
|
|
|
|
- (IBAction)closeMessageSheet:(id)sender;
|
|
|
|
|
|
@property (assign) IBOutlet NSImageView *iconView;
|
|
@property (assign) IBOutlet NSTextField *messageField;
|
|
@property (assign) IBOutlet NSTextView *infoView;
|
|
@property (assign) IBOutlet NSScrollView *scrollView;
|
|
|
|
@end
|