summaryrefslogtreecommitdiff
path: root/cocoa/HistoryView.h
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-01-24 15:01:34 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-01-24 15:01:34 +0000
commite21cab6a7fc68b311a79a067b408da23173fb255 (patch)
treeea7fbdbb891ad19248d8106b3d0edc3dddcc0cf1 /cocoa/HistoryView.h
parent840fb0b9aab4b3d3bd4603a945f0d8ca02f5e473 (diff)
downloadnetsurf-e21cab6a7fc68b311a79a067b408da23173fb255.tar.gz
netsurf-e21cab6a7fc68b311a79a067b408da23173fb255.tar.bz2
Added local history overlay
svn path=/trunk/netsurf/; revision=11479
Diffstat (limited to 'cocoa/HistoryView.h')
-rw-r--r--cocoa/HistoryView.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/cocoa/HistoryView.h b/cocoa/HistoryView.h
new file mode 100644
index 000000000..974b649d5
--- /dev/null
+++ b/cocoa/HistoryView.h
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2011 Sven Weidauer <sven.weidauer@gmail.com>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf 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; version 2 of the License.
+ *
+ * NetSurf 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>
+
+@class HistoryView;
+
+@protocol HistoryViewDelegate
+
+- (void) historyViewDidSelectItem: (HistoryView *) history;
+
+@end
+
+
+@interface HistoryView : NSView {
+ struct browser_window *browser;
+ id <HistoryViewDelegate> delegate;
+}
+
+@property (readwrite, assign, nonatomic) struct browser_window *browser;
+@property (readwrite, assign, nonatomic) id <HistoryViewDelegate> delegate;
+
+- (id) initWithBrowser: (struct browser_window *)bw;
+- (void) updateHistory;
+
+@end