/usr/include/GNUstep/Frameworks/Addresses.framework/Versions/0/ADRecord.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 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 | // ADRecord.h (this is -*- ObjC -*-)
//
// Authors: Björn Giesler <giesler@ira.uka.de>
//
// Address Book Framework for GNUstep
//
#ifndef _ADRECORD_H_
#define _ADRECORD_H_
#import <Foundation/Foundation.h>
@class ADAddressBook;
@interface ADRecord: NSObject <NSCopying>
{
BOOL _readOnly;
ADAddressBook *_book;
NSDictionary *_dict;
}
- (id) valueForProperty: (NSString *) property;
- (BOOL) setValue: (id) value forProperty: (NSString *) property;
- (BOOL) removeValueForProperty: (NSString *) property;
/*!
\brief Return the address book this record is part of.
Can return nil, if this is a new record which has not been added to
any address book yet.
\note This is a non-Apple extension; Apple's API doesn't need it as
it knows nothing about multiple address books.
*/
- (ADAddressBook *) addressBook;
/*!
\brief Set the address book this record is part of.
Can only be set once (since a record cannot be *moved* between
address books); raises if it has been called before, or if book is
nil.
\note This is a non-Apple extension; Apple's API doesn't need it as
it knows nothing about multiple address books.
*/
- (void) setAddressBook: (ADAddressBook *) book;
@end
@interface ADRecord(Convenience)
- (NSString*) uniqueId;
@end
// Addresses Extensions
@interface ADRecord(AddressesExtensions)
- (id) initWithRepresentation: (NSString*) str
type: (NSString*) type;
- (NSString*) representationWithType: (NSString*) type;
- (BOOL) readOnly; // return whether this is a read-only record
- (void) setReadOnly; // set this record to be read-only. cannot be reset.
- (NSDictionary*) contentDictionary;
@end
#endif
|