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 )
|
2003-08-10 13:59:58 +00:00
|
|
|
{
|
2003-04-03 15:38:42 +00:00
|
|
|
sharedPasteboardWindowController = [[PasteboardWindowController allocWithZone:[self zone]] init];
|
2003-08-10 13:59:58 +00:00
|
|
|
}
|
2003-04-03 15:38:42 +00:00
|
|
|
return sharedPasteboardWindowController;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|