cog/InfoInspector/InfoWindowController.m

37 lines
793 B
Matlab
Raw Normal View History

//
// InfoWindowController.m
// Cog
//
// Created by Vincent Spader on 3/7/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import "InfoWindowController.h"
2009-03-08 20:04:09 +00:00
#import "MissingAlbumArtTransformer.h"
@implementation InfoWindowController
@synthesize playlistSelectionController;
2009-03-08 20:04:09 +00:00
+ (void)initialize
{
NSValueTransformer *missingAlbumArtTransformer = [[[MissingAlbumArtTransformer alloc] init] autorelease];
[NSValueTransformer setValueTransformer:missingAlbumArtTransformer
forName:@"MissingAlbumArtTransformer"];
}
- (id)init
{
return [super initWithWindowNibName:@"InfoInspector"];
}
- (IBAction)toggleWindow:(id)sender
{
if ([[self window] isVisible])
[[self window] orderOut:self];
else
[self showWindow:self];
}
@end