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