]>
Commit | Line | Data |
---|---|---|
dacd667c MW |
1 | /* |
2 | * Copyright (C) 2013 Martin Willi | |
19ef2aec TB |
3 | * |
4 | * Copyright (C) secunet Security Networks AG | |
dacd667c MW |
5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | |
7 | * under the terms of the GNU General Public License as published by the | |
8 | * Free Software Foundation; either version 2 of the License, or (at your | |
9 | * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. | |
10 | * | |
11 | * This program is distributed in the hope that it will be useful, but | |
12 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
13 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | * for more details. | |
15 | */ | |
16 | ||
17 | #import <Cocoa/Cocoa.h> | |
18 | ||
19 | /** | |
20 | * Controller for a connection specific log Window | |
21 | */ | |
22 | @interface LogController : NSWindowController { | |
23 | /** | |
24 | * Text field for the log entries | |
25 | */ | |
26 | IBOutlet NSTextView *textView; | |
27 | } | |
28 | ||
29 | /** | |
30 | * Show the log window on the active Desktop | |
31 | */ | |
32 | - (void)show; | |
33 | ||
34 | /** | |
35 | * Append a new log line to the log | |
36 | * | |
37 | * @param line log line to append | |
38 | */ | |
39 | - (void)appendLine:(NSString*)line; | |
40 | ||
41 | /** | |
42 | * Clear the log window | |
43 | */ | |
44 | - (void)clear; | |
45 | ||
46 | @end |