Files
cappuccino/Tools/XcodeCapp/TNErrorDataView.h
T
Antoine Mercadal 628a4db746 Improve errors reporting
Errors are now displayed in a data view showing:
 - the file
 - the error message
 - A button that allows you to open the errored file in the default system editor
2013-01-24 23:41:25 -08:00

35 lines
1.1 KiB
Objective-C

/*
* This file is a part of program XcodeCapp
* Copyright (C) 2013 Antoine Mercadal (<primalmotion@archipelproject.org>)
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#import <Cocoa/Cocoa.h>
@interface TNErrorDataView : NSView
{
IBOutlet NSTextField *fieldFileName;
IBOutlet NSTextField *fieldMessage;
IBOutlet NSButton *buttonOpenFile;
NSString *_fullPath;
}
@property (assign) NSTextField *fieldMessage;
- (IBAction)openFile:(id)aSender;
@end