ProjectManager 0.2
BundleExtensionLoader.h
1/*
2 BundleExtensionLoader.h
3
4 Interface declaration of the BundleExtensionLoader class for the
5 ProjectManager application.
6
7 Copyright (C) 2005 Saso Kiselkov
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22*/
23
24#import <Foundation/NSObject.h>
25
26#import <Foundation/NSPathUtilities.h>
27
28@class NSString, NSDictionary;
29
37enum {
38 MainBundleDomainMask = 0x00010000
39};
40
52@interface BundleExtensionLoader : NSObject
53
55+ shared;
56
95- (NSArray *) extensionsForBundleType: (NSString *) bundleFileExtension
96 principalClassProtocols: (NSArray *) protocols
97 bundleSubdirectory: (NSString *) subDirName
98 inDomains: (NSSearchPathDomainMask) domainMask
99 domainDetectionByKey: (NSString *) defaultsKey;
100
112- (NSArray *) extensionsForBundleType: (NSString *) bundleFileExtension
113 principalClassProtocol: (Protocol *) protocol
114 bundleSubdirectory: (NSString *) subDirName
115 inDomains: (NSSearchPathDomainMask) domainMask
116 domainDetectionByKey: (NSString *) defaultsKey;
117
118@end
A simple interface for locating extending bundles for apps.
Definition BundleExtensionLoader.h:53
id shared()
Returns a shared instance of BundleExtensionLoader.
Definition BundleExtensionLoader.m:149