ITKit for Menutunes
[ITKit.git] / ITTableView.h
diff --git a/ITTableView.h b/ITTableView.h
new file mode 100755 (executable)
index 0000000..5661c74
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ *     ITKit
+ *     ITTableView
+ *
+ *     An NSTableView subclass with easy to use accessors for adding a menu (with optional image)
+ *     to the corner view of the TableView.
+ *
+ *     Original Author : Joseph Spiros <joseph.spiros@ithinksw.com>
+ *     Responsibility  : Joseph Spiros <joseph.spiros@ithinksw.com>
+ *
+ *     Copyright (c) 2002 iThink Software.
+ *     All Rights Reserved
+ *
+ */
+
+#import <AppKit/AppKit.h>
+#import "ITTableCornerView.h"
+
+@interface ITTableView : NSTableView {
+    ITTableCornerView *corner;
+}
+
+- (void)setCornerImage:(NSImage*)image;
+- (NSImage*)cornerImage;
+- (void)setCornerMenu:(NSMenu*)menu;
+- (NSMenu*)cornerMenu;
+
+@end