5 * Class that wraps Carbon ResourceManager resource files.
7 * Copyright (c) 2005 iThink Software
11 #import <Foundation/Foundation.h>
12 #import <Carbon/Carbon.h>
13 #import <ITMac/ITMacResource.h>
15 @interface ITMacResourceFile : NSObject {
17 SInt16 _referenceNumber;
20 + (HFSUniStr255)dataForkName;
21 + (HFSUniStr255)resourceForkName;
23 - (id)initWithContentsOfFile:(NSString *)path;
24 - (id)initWithContentsOfFile:(NSString *)path fork:(HFSUniStr255)namedFork;
26 - (ITMacResource *)resourceOfType:(ITMacResourceType)type withID:(short)idNum;
27 - (ITMacResource *)resourceOfType:(ITMacResourceType)type withName:(NSString *)name;