1 /* History.h
2  *
3  * Copyright (C) 2003 Free Software Foundation, Inc.
4  *
5  * Author: Enrico Sersale <enrico@imago.ro>
6  * Date: August 2001
7  *
8  * This file is part of the GNUstep GWorkspace application
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
23  */
24 
25 #ifndef HISTORY_H
26 #define HISTORY_H
27 
28 #include <Foundation/Foundation.h>
29 
30 @class NSWindow;
31 @class NSScrollView;
32 @class NSMatrix;
33 
34 @interface History : NSObject
35 {
36   NSWindow *win;
37 	NSScrollView *scrollView;
38   NSMatrix *matrix;
39 	id viewer;
40 }
41 
42 - (void)activate;
43 
44 - (void)setViewer:(id)aviewer;
45 
46 - (id)viewer;
47 
48 - (void)setHistoryNodes:(NSArray *)nodes;
49 
50 - (void)setHistoryPosition:(int)position;
51 
52 - (void)setHistoryNodes:(NSArray *)nodes
53                position:(int)position;
54 
55 - (void)matrixAction:(id)sender;
56 
57 - (void)setMatrixWidth;
58 
59 - (void)updateDefaults;
60 
61 - (NSWindow *)myWin;
62 
63 @end
64 
65 #endif // HISTORY_H
66 
67