39 lines
907 B
Objective-C
Executable File
39 lines
907 B
Objective-C
Executable File
//
|
|
// 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
|