/usr/include/GNUstep/Frameworks/Addresses.framework/Versions/0/ADPlugin.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 | // ADPlugin.h (this is -*- ObjC -*-)
//
// Author: Björn Giesler <giesler@ira.uka.de>
//
// Address Book Framework for GNUstep
//
#import "ADAddressBook.h"
/**
This class defines the interface for address book class plugins. An
address book class plugin is contained in a bundle that gets loaded at
runtime. It can create address books of one specific kind (see the LDAP
plugin as an example, and the main README file for an overview).
Specifications to create address books are given as dictionaries,
contained in the AddressBooks array in the Addresses user defaults
domain. Typically, an address book class plugin is accompanied by a
configurator gui plugin that gets loaded by AddressManager. The gui writes
the defaults entry.
An address book class plugin's name ends in ".abclass", not in ".bundle"!
*/
@protocol ADPluggedInAddressBook
/** Return a new address book according to the dictionary contained in the
specification. */
- initWithSpecification: (NSDictionary*) aSpec;
@end
@interface ADPluginManager: NSObject
{
NSMutableArray* abClassPlugins;
}
+ (ADPluginManager*) sharedPluginManager;
/** Check the usual places for bundles that end in ".abclass", and which have
not already been loaded. */
- (BOOL) checkForNewPlugins;
/** Look for "ClassName" in aSpec, then look for an appropriate class in
abClassPlugins, then try to create an instance using aSpec and return
it. */
- (ADAddressBook*) newAddressBookWithSpecification: (NSDictionary*) aSpec;
@end
|