-Added Songtexte.com Lyrics Hoster
-Repositioned the load more results button into the outline view -Improved the replacing of html escape characters -Lyrics Hosters can now be dragged into a preferred order in the preference window -Changed results outline's column ordering method -Some code changes -Replaced the Buttons in the lyrics pane with an action button -Preferred order of lyrics hosters will now be saved -Translation Improvements
This commit is contained in:
@@ -6,37 +6,24 @@
|
||||
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Scripting/Scripting.h>
|
||||
#import <ScriptingBridge/ScriptingBridge.h>
|
||||
#import <AppKitScripting/AppKitScripting.h>
|
||||
#import "iTunes.h"
|
||||
#import "Spotify.h"
|
||||
#import "Magistrix.h"
|
||||
#import "SearchResult.h"
|
||||
#import "Lyrics.h"
|
||||
#import <Growl/Growl.h>
|
||||
#import "iLyrics.h"
|
||||
|
||||
@interface MainController : NSObject <NSWindowDelegate, NSSplitViewDelegate, NSOutlineViewDataSource, NSOutlineViewDelegate>
|
||||
@property (weak) IBOutlet NSMenuItem *iLyricsMenuItem;
|
||||
@property (unsafe_unretained) IBOutlet NSWindow *window;
|
||||
@property (weak) IBOutlet NSSearchField *searchField;
|
||||
@property (weak) IBOutlet NSOutlineView *resultsOutline;
|
||||
@property (weak) IBOutlet NSButton *loadMoreResultsButton;
|
||||
@property (weak) IBOutlet NSButton *showPreviewCheckBox;
|
||||
@property (weak) IBOutlet NSPopover *previewPopover;
|
||||
@property (unsafe_unretained) IBOutlet NSTextView *previewTextArea;
|
||||
@property (weak) IBOutlet NSTextField *songLabel;
|
||||
@property (weak) IBOutlet NSTextField *artistLabel;
|
||||
@property (weak) IBOutlet NSButton *sendToiTunesButton;
|
||||
@property (weak) IBOutlet NSButton *downloadLyricsButton;
|
||||
@property (unsafe_unretained) IBOutlet NSTextView *lyricsArea;
|
||||
@property (readonly) Lyrics *currentLyrics;
|
||||
|
||||
- (IBAction)getCurrentiTunesSong:(id)sender;
|
||||
- (IBAction)getCurrentSpotifySong:(id)sender;
|
||||
- (IBAction)startNewSearch:(id)sender;
|
||||
- (IBAction)loadNextResults:(id)sender;
|
||||
- (IBAction)resetLoadedResults:(id)sender;
|
||||
- (IBAction)lyricsSelectionChanged:(NSOutlineView *)sender;
|
||||
- (IBAction)sendLyricsToiTunes:(id)sender;
|
||||
|
||||
Reference in New Issue
Block a user