@@ -154,7 +154,7 @@ StationFinderListenLive::~StationFinderListenLive()
154
154
}
155
155
156
156
157
- BObjectList<Station> *
157
+ StationList *
158
158
StationFinderListenLive::FindBy (
159
159
int capabilityIndex, const char * searchFor, BLooper* resultUpdateTarget)
160
160
{
@@ -164,7 +164,7 @@ StationFinderListenLive::FindBy(
164
164
fPlsLookupList .MakeEmpty (false );
165
165
fLookupNotify = resultUpdateTarget;
166
166
167
- BObjectList<Station> * result = NULL ;
167
+ StationList * result = NULL ;
168
168
169
169
BString urlString (kBaseUrl );
170
170
strlwr ((char *)searchFor);
@@ -202,10 +202,14 @@ StationFinderListenLive::FindBy(
202
202
}
203
203
204
204
205
- BObjectList<Station> *
205
+ StationList *
206
206
StationFinderListenLive::ParseCountryReturn (BMallocIO* data, const char * searchFor)
207
207
{
208
- BObjectList<Station>* result = new BObjectList<Station>(20 , true );
208
+ #if B_HAIKU_VERSION > B_HAIKU_VERSION_1_BETA_5
209
+ StationList* result = new StationList (20 );
210
+ #else
211
+ StationList* result = new StationList (20 , true );
212
+ #endif
209
213
if (result == NULL )
210
214
return result;
211
215
@@ -286,10 +290,14 @@ StationFinderListenLive::ParseCountryReturn(BMallocIO* data, const char* searchF
286
290
}
287
291
288
292
289
- BObjectList<Station> *
293
+ StationList *
290
294
StationFinderListenLive::ParseGenreReturn (BMallocIO* data, const char * searchFor)
291
295
{
292
- BObjectList<Station>* result = new BObjectList<Station>(20 , true );
296
+ #if B_HAIKU_VERSION > B_HAIKU_VERSION_1_BETA_5
297
+ StationList* result = new StationList (20 );
298
+ #else
299
+ StationList* result = new StationList (20 , true );
300
+ #endif
293
301
if (result == NULL )
294
302
return result;
295
303
0 commit comments