This commit is contained in:
parent
0df5123d05
commit
ec992377f4
2 changed files with 58 additions and 0 deletions
21
TagEditor/TagEditorController.h
Normal file
21
TagEditor/TagEditorController.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// TagEditorController.h
|
||||
// Cog
|
||||
//
|
||||
// Created by Safari on 08/11/17.
|
||||
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
|
||||
@interface TagEditorController : NSObject {
|
||||
|
||||
IBOutlet NSWindow* tageditorWindow;
|
||||
}
|
||||
- (id)init;
|
||||
- (void)showInfoForURL:(NSURL*)url;
|
||||
- (IBAction)cancel:(id)sender;
|
||||
|
||||
|
||||
@end
|
37
TagEditor/TagEditorController.m
Normal file
37
TagEditor/TagEditorController.m
Normal file
|
@ -0,0 +1,37 @@
|
|||
//
|
||||
// TagEditorController.m
|
||||
// Cog
|
||||
//
|
||||
// Created by Safari on 08/11/17.
|
||||
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TagEditorController.h"
|
||||
#import "PlaylistController.h"
|
||||
|
||||
|
||||
@implementation TagEditorController
|
||||
|
||||
- (id)init
|
||||
{
|
||||
self = [super init];
|
||||
|
||||
if( self )
|
||||
{
|
||||
// initialize the class
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)showInfoForURL:(NSURL*)url
|
||||
{
|
||||
[tageditorWindow showWindow:self];
|
||||
}
|
||||
|
||||
- (IBAction)cancel:(id)sender
|
||||
{
|
||||
[tageditorWindow close];
|
||||
}
|
||||
|
||||
@end
|
Loading…
Reference in a new issue