Fixed a possible crasher where an ITMultilineTextFieldCell is treated as
[ITKit.git] / ITTabView.h
index 7f86e74..89b5fef 100755 (executable)
@@ -3,11 +3,11 @@
  *  ITTabView
  *    NSTabView subclass which includes convenience features
  *
- *  Original Author : Joseph Spiros <kent.sutherland@ithinksw.com>
- *   Responsibility : Matt Judy <mjudy@ithinksw.com>
+ *  Original Author : Kent Sutherland <kent.sutherland@ithinksw.com>
+ *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
  *   Responsibility : Kent Sutherland <kent.sutherland@ithinksw.com>
  *
- *  Copyright (c) 2002 iThink Software.
+ *  Copyright (c) 2002 - 2003 iThink Software.
  *  All Rights Reserved
  *
  */
  *     This subclass enables drag-and-drop for tab view items.
  */
 
+
 #import <Cocoa/Cocoa.h>
 
+
 @interface ITTabView : NSTabView
 {
     NSTabViewItem *_draggedTab;
+    bool _allowsDragging;
+    unsigned int _requiredModifiers;
 }
+
+- (void)setAllowsDragging:(bool)flag;
+- (bool)allowsDragging;
+
+- (void)setRequiredModifiers:(unsigned int)modifiers;
+- (unsigned int)requiredModifiers;
+
+- (void)moveTab:(NSTabViewItem *)tab toIndex:(int)index;
+
+
 @end