/usr/include/GNUstep/Frameworks/Addresses.framework/Versions/0/ADImageLoading.h is in libaddresses-dev 0.4.8-3.
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 | // ADImageLoading.h (this is -*- ObjC -*-)
//
// \author: Björn Giesler <giesler@ira.uka.de>
//
// Address Book API for GNUstep
//
#import <Addresses/Addresses.h>
@protocol CImageClient<NSObject>
- (void) consumeImageData: (NSData*) data
forTag: (ADImageTag) tag;
@end
@interface ADPerson (ImageAdditions)
- (BOOL) setImageData: (NSData*) data;
- (NSData*) imageData;
// Following two not implemented on GNUstep
- (ADImageTag) beginLoadingImageDataForClient: (id<CImageClient>) client;
+ (void) cancelLoadingImageDataForTag: (ADImageTag) tag;
@end
#define NSIMAGEREP_BROKEN
// FIXME NOTE: The following extension WILL DISAPPEAR as soon as GNUstep's
// NSImageRep can initWithData: for data formats other than
// tiff. Right now, it can only initWithContentsOfFile:, so we have to
// keep a file around.
#ifdef NSIMAGEREP_BROKEN
@interface ADPerson (ImageAdditionsForBrokenNSImageRep)
// these require the person to be owned by an address book.
- (BOOL) setImageDataWithFile: (NSString*) filename;
- (NSString*) imageDataFile;
- (BOOL) setImageDataType: (NSString*) type;
@end
#endif
|