-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
39 lines
907 B
Objective-C
39 lines
907 B
Objective-C
//
|
|
// iLyrics.h
|
|
// iLyrics
|
|
//
|
|
// Created by Kim Wittenburg on 19.06.12.
|
|
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import <Growl/Growl.h>
|
|
#import "LyricsHoster.h"
|
|
#import "Magistrix.h"
|
|
#import "Songtexte.h"
|
|
#import "MP3Lyrics.h"
|
|
#import "SearchResult.h"
|
|
#import "Lyrics.h"
|
|
|
|
#import "iTunes.h"
|
|
#import "Spotify.h"
|
|
|
|
@interface iLyrics : NSObject
|
|
|
|
@property NSMutableArray *lyricsHosters;
|
|
@property(readonly) id<LyricsHoster> preferredHoster;
|
|
@property(readonly) Magistrix *magistrix;
|
|
@property(readonly) Songtexte *songtexte;
|
|
@property(readonly) MP3Lyrics *mp3Lyrics;
|
|
@property(readonly) iTunesApplication *iTunes;
|
|
@property(readonly) SpotifyApplication *spotify;
|
|
|
|
+(iLyrics *)sharediLyrics;
|
|
|
|
-(id<LyricsHoster>) hosterWithName: (NSString *) name;
|
|
|
|
-(void)saveToDefaults:(NSUserDefaults *)defaults;
|
|
-(void)loadFromDefaults:(NSUserDefaults *)defaults;
|
|
|
|
@end
|