Fixed a possible crasher where an ITMultilineTextFieldCell is treated as
[ITKit.git] / ITMacResourceFile.h
1 //
2 //  ITMacResourceFile.h
3 //  ITKit
4 //
5 //  Created by Joseph Spiros on Thu Dec 25 2003.
6 //  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import <Carbon/Carbon.h>
11 #import "ITMacResource.h"
12
13 @interface ITMacResourceFile : NSObject {
14     FSRef _fileReference;
15     SInt16 _referenceNumber;
16 }
17 - (id)initWithContentsOfFile:(NSString *)path;
18 - (id)initWithContentsOfFile:(NSString *)path fork:(HFSUniStr255)namedFork;
19
20 - (ITMacResource *)resourceOfType:(ITMacResourceType)type withID:(NSNumber *)idNum;
21 - (ITMacResource *)resourceOfType:(ITMacResourceType)type withName:(NSString *)name;
22 @end