This is AttachmentCell.m in view mode; [Download] [Up]
#import <appkit/appkit.h>
#import <foundation/foundation.h>
#import "graphicCellProtocol.h" // Stolen from the appkit source
#import "AttachmentCell.h"
@implementation AttachmentCell
- (void)setImagePath:(NSString *)aPathName;
{
[_path release];
_path = [aPathName copy];
[self setImage:[[[NXApp class] workspace] getIconForFile:[_path cString]]];
}
//-----------------------------------------------------------------------------
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.