// // LyricsHoster.h // iLyrics // // Created by Kim Wittenburg on 10.06.12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #import #import "Lyrics.h" #import "LyricsHosterUtil.h" @protocol LyricsHoster @property BOOL enabled; -(NSString*) name; -(NSDate*) hosterVersion; -(void) startNewSearchForQuery: (NSString*) query; -(BOOL) hasMoreResults; //Return an empty array for a "No results found" message and nil for a "network error". -(NSArray*) nextResults; -(void) resetLoadedResults; -(BOOL) canShowInBrowser:(id)result; -(void) showInBrowser:(id)result; //Return nil for a "network error" //parameter should be a SearchResult instance -(Lyrics*) lyricsBySearchResult: (id) result; @end