/usr/include/GNUstep/Frameworks/Addresses.framework/Versions/0/ADMultiValue.h is in libaddresses-dev 0.4.8-2+b2.
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 | // ADMultiValue.h (this is -*- ObjC -*-)
//
// Authors: Björn Giesler <giesler@ira.uka.de>
// Riccardo Mottola
//
// Address Book Framework for GNUstep
//
#ifndef _ADMULTIVALUE_H_
#define _ADMULTIVALUE_H_
#import <Foundation/Foundation.h>
#import <Addresses/ADTypedefs.h>
@interface ADMultiValue : NSObject <NSCopying, NSMutableCopying>
{
NSString *_primaryId;
ADPropertyType _type;
NSMutableArray *_arr;
}
- (NSUInteger) count;
- (id) valueAtIndex: (NSUInteger) index;
- (NSString*) labelAtIndex: (NSUInteger) index;
- (NSString*) identifierAtIndex: (NSUInteger) index;
- (NSUInteger) indexForIdentifier: (NSString*) identifier;
- (NSString*) primaryIdentifier;
- (ADPropertyType) propertyType;
@end
@interface ADMultiValue(AddressesExtensions)
- (id) initWithMultiValue: (ADMultiValue*) mv;
- (id) initWithType: (ADPropertyType) type;
- (NSArray*) contentArray;
@end
@interface ADMutableMultiValue: ADMultiValue
{
int _nextId;
}
- (NSString*) addValue: (id) value
withLabel: (NSString*) label;
- (NSString *) insertValue: (id) value
withLabel: (NSString*) label
atIndex: (NSUInteger) index;
- (BOOL) removeValueAndLabelAtIndex: (NSUInteger) index;
- (BOOL) replaceValueAtIndex: (NSUInteger) index
withValue: (id) value;
- (BOOL) replaceLabelAtIndex: (NSUInteger) index
withLabel: (NSString*) label;
- (BOOL)setPrimaryIdentifier:(NSString *)identifier;
@end
@interface ADMutableMultiValue(AddressesExtensions)
- (BOOL) addValue: (id) value
withLabel: (NSString*) label
identifier: (NSString*) identifier;
@end
#endif
|