/usr/include/GNUstep/InterfaceBuilder/IBViewResourceDragging.h is in libgorm-dev 1.2.20-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | /* IBViewResourceDragging.h
*
* Copyright (C) 2003 Free Software Foundation, Inc.
*
* Author: Gregory John Casamento <greg_casamento@yahoo.com>
* Date: 2003
*
* This file is part of GNUstep.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
*/
#ifndef INCLUDED_IBVIEWRESOURCEDRAGGING_H
#define INCLUDED_IBVIEWRESOURCEDRAGGING_H
#include <AppKit/NSView.h>
@class NSPasteboard;
/**
* Protocol describing those methods needed to accept resources.
*/
@protocol IBViewResourceDraggingDelegates
/**
* Ask if the view accepts the object.
*/
- (BOOL) acceptsViewResourceFromPasteboard: (NSPasteboard *)pb
forObject: (id)obj
atPoint: (NSPoint)p;
/**
* Perform the action of depositing the object.
*/
- (void) depositViewResourceFromPasteboard: (NSPasteboard *)pb
onObject: (id)obj
atPoint: (NSPoint)p;
/**
* Should we draw the connection frame when the resource is
* dragged in?
*/
- (BOOL) shouldDrawConnectionFrame;
/**
* Types of resources accepted by this view.
*/
- (NSArray *)viewResourcePasteboardTypes;
@end
/**
* Informal protocol on NSView.
*/
@interface NSView (IBViewResourceDraggingDelegates)
/**
* Types accepted by the view.
*/
+ (NSArray *) acceptedViewResourcePasteboardTypes;
/**
* Return the list of registered delegates.
*/
+ (NSArray *) registeredViewResourceDraggingDelegates;
/**
* Register a delegate.
*/
+ (void) registerViewResourceDraggingDelegate: (id<IBViewResourceDraggingDelegates>)delegate;
/**
* Remove a previously registered delegate.
*/
+ (void) unregisterViewResourceDraggingDelegate: (id<IBViewResourceDraggingDelegates>)delegate;
@end
#endif
|