//
//  ExternalDragTableView.h
//  DocYouMeant2
//

#import <Cocoa/Cocoa.h>
#define ExternalDragTableView ComBelkadanUtils_ExternalDragTableView

@interface ExternalDragTableView : NSTableView {

}

@end

/*!
 * Adds one method to the table view delegate, which allows the delegate
 * to choose the dragging source operation mask instead of the table
 * view.
 */
@interface NSObject (ComBelkadanUtils_ExternalDragTableViewDelegate)
/*!
 * Return <code>NSDragOperationNone</code> to disallow dragging, anything else
 * to allow it. <code>isLocal</code> will be <code>YES</code> when the user
 * drags inside the application, <code>NO</code> when the drag is targeted at
 * another application.
 */
- (NSDragOperation)tableView:(NSTableView *)tableView draggingSourceOperationMaskForLocal:(BOOL)isLocal;
@end
