27 lines
566 B
Objective-C
Executable File
27 lines
566 B
Objective-C
Executable File
//
|
|
// SearchResult.m
|
|
// iLyrics
|
|
//
|
|
// Created by Kim Wittenburg on 10.06.12.
|
|
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import "SearchResult.h"
|
|
|
|
@implementation SearchResult
|
|
@synthesize name;
|
|
@synthesize artist;
|
|
@synthesize preview;
|
|
@synthesize loadedByHoster;
|
|
@synthesize link;
|
|
|
|
-(id)initWithName:(NSString *)sng fromArtist:(NSString *)art preview:(NSString *)pre link:(id)l loadedByHoster:(id<LyricsHoster>)hoster {
|
|
name = sng;
|
|
artist = art;
|
|
preview = pre;
|
|
link = l;
|
|
loadedByHoster = hoster;
|
|
return self;
|
|
}
|
|
@end
|