/usr/include/GNUstep/Frameworks/Addresses.framework/Versions/0/ADPerson.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 | // ADPerson.h (this is -*- ObjC -*-)
//
// \author: Björn Giesler <giesler@ira.uka.de>
//
// Address Book Framework for GNUstep
//
#ifndef _ADPERSON_H
#define _ADPERSON_H
#import <Addresses/ADRecord.h>
#import <Addresses/ADSearchElement.h>
#import <Addresses/ADTypedefs.h>
@class ADSearchElement;
@interface ADPerson: ADRecord
/*!
\brief Add properties to all people records
Takes a dictionary of the form {propName = propType; [...]}.
Property names must be unique; if a property is already in, it will
not be added, nor will its type be changed. Returns the number of
properties successfully added.
*/
+ (int) addPropertiesAndTypes: (NSDictionary*) properties;
/*!
\brief Remove properties from all people records
Returns the number of properties successfully removed
*/
+ (int) removeProperties: (NSArray*) properties;
+ (NSArray*) properties;
+ (ADPropertyType) typeOfProperty: (NSString*) property;
+ (ADSearchElement*) searchElementForProperty: (NSString*) property
label: (NSString*) label
key: (NSString*) key
value: (id) value
comparison: (ADSearchComparison) comparison;
- (ADPropertyType) typeOfProperty: (NSString*) property;
- (NSArray*) parentGroups;
- (id) initWithVCardRepresentation: (NSData*) vCardData;
- (NSData *) vCardRepresentation;
@end
@interface ADPerson(AddressesExtensions)
+ (ADScreenNameFormat) screenNameFormat;
+ (void) setScreenNameFormat: (ADScreenNameFormat) aFormat;
- (NSString*) screenName;
- (NSString*) screenNameWithFormat: (ADScreenNameFormat) aFormat;
- (NSComparisonResult) compareByScreenName: (ADPerson*) theOtherGuy;
- (BOOL) shared;
- (void) setShared: (BOOL) yesno;
@end
#endif
|