Archived
1
This repository has been archived on 2022-08-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ilyrics/iLyrics/LyricsHoster.h
Kim Wittenburg e4fdd7e306 Release 1.0
iLyrics functionality added
Magistrix Lyrics Hoster added

Release 1.0.1
Added Split View in Main Window
Some little code changes
2012-06-16 16:29:56 +02:00

31 lines
592 B
Objective-C

//
// LyricsHoster.h
// iLyrics
//
// Created by Kim Wittenburg on 10.06.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SearchResult.h"
#import "Lyrics.h"
@protocol LyricsHoster <NSObject>
-(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;
-(Lyrics*) lyricsBySearchResult: (SearchResult *) result;
@end