ResKnife/Cocoa/Classes/PasteboardWindowController.m

20 lines
546 B
Mathematica
Raw Normal View History

2003-04-03 15:38:42 +00:00
#import "PasteboardWindowController.h"
@implementation PasteboardWindowController
- (id)init
{
self = [self initWithWindowNibName:@"ResourceDocument"];
if( self ) [self setWindowFrameAutosaveName:@"PasteboardWindow"];
return self;
}
+ (id)sharedPasteboardWindowController
{
static PasteboardWindowController *sharedPasteboardWindowController = nil;
if( !sharedPasteboardWindowController )
sharedPasteboardWindowController = [[PasteboardWindowController allocWithZone:[self zone]] init];
return sharedPasteboardWindowController;
}
@end