Fixing project references due to the previous upgrade from .xcode to .xcodeproj.
[ITMac.git] / ITMacResource.h
1 /*
2  *      ITMac
3  *      ITMacResource.h
4  *
5  *      Class that wraps Carbon ResourceManager resources.
6  *
7  *      Copyright (c) 2005 by iThink Software.
8  *      All Rights Reserved.
9  *
10  *      $Id$
11  *
12  */
13
14 #import <Foundation/Foundation.h>
15 #import <Carbon/Carbon.h>
16
17 typedef ResType ITMacResourceType;
18
19 @interface ITMacResource : NSObject {
20         @protected
21         Handle _handle;
22 }
23
24 + (Class)subclassForType:(ITMacResourceType)type;
25
26 + (NSArray *)supportedResourceTypes;
27 + (BOOL)supportsResourceType:(ITMacResourceType)type;
28
29 + (id)resourceWithHandle:(Handle)handle;
30 - (id)initWithHandle:(Handle)handle;
31
32 - (Handle)handle;
33
34 - (NSData *)data;
35 - (ITMacResourceType)type;
36 - (short)id;
37 - (NSString *)name;
38
39 - (Class)nativeRepresentationClass;
40 - (id)nativeRepresentation;
41
42 @end