2006-08-21 22:07:08 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* $Id$
|
|
|
|
*
|
2007-04-03 02:22:25 +00:00
|
|
|
* Copyright (c) 2006-2007 Transmission authors and contributors
|
2006-08-21 22:07:08 +00:00
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
|
|
* to deal in the Software without restriction, including without limitation
|
|
|
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
|
|
* and/or sell copies of the Software, and to permit persons to whom the
|
|
|
|
* Software is furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
|
* all copies or substantial portions of the Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
|
* DEALINGS IN THE SOFTWARE.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
@interface MessageWindowController : NSWindowController
|
|
|
|
{
|
2007-09-10 21:46:33 +00:00
|
|
|
IBOutlet NSTableView * fMessageTable;
|
2006-08-22 01:08:44 +00:00
|
|
|
|
2006-08-21 22:07:08 +00:00
|
|
|
IBOutlet NSPopUpButton * fLevelButton;
|
|
|
|
|
2007-09-10 18:39:54 +00:00
|
|
|
NSMutableArray * fMessages;
|
2006-08-24 01:55:09 +00:00
|
|
|
|
2007-09-10 18:39:54 +00:00
|
|
|
NSTimer * fTimer;
|
2006-09-03 17:06:43 +00:00
|
|
|
|
2007-09-10 20:05:24 +00:00
|
|
|
NSImage * fErrorImage, * fInfoImage, * fDebugImage;
|
|
|
|
|
2006-09-03 17:06:43 +00:00
|
|
|
IBOutlet NSTextField * fDebugWarningField;
|
|
|
|
IBOutlet NSImageView * fDebugWarningIcon;
|
2006-08-21 22:07:08 +00:00
|
|
|
}
|
|
|
|
|
2006-08-21 23:47:29 +00:00
|
|
|
- (void) updateLog: (NSTimer *) timer;
|
2006-08-21 22:07:08 +00:00
|
|
|
|
|
|
|
- (void) changeLevel: (id) sender;
|
|
|
|
- (void) clearLog: (id) sender;
|
|
|
|
|
2006-08-22 23:00:53 +00:00
|
|
|
- (void) writeToFile: (id) sender;
|
|
|
|
|
2006-08-21 22:07:08 +00:00
|
|
|
@end
|