17 |
|
{ |
18 |
|
MusicLibrary::Library library; |
19 |
|
|
20 |
< |
_foreach (const _L<MusicLibrary::Artist>, artist, library.GetArtists()) |
20 |
> |
/*_foreach (const _L<MusicLibrary::Artist>, artist, library.GetArtists()) |
21 |
|
{ |
22 |
|
std::cout << artist->GetId() << ' ' << artist->GetName() << std::endl; |
23 |
|
|
28 |
|
_foreach (const _L<MusicLibrary::Song>, song, album->GetSongs()) |
29 |
|
std::cout << song->GetId() << ' ' << song->GetName() << ' ' << song->GetPath() << ' ' << song->GetTrack() << std::endl; |
30 |
|
} |
31 |
< |
} |
31 |
> |
}*/ |
32 |
> |
|
33 |
> |
_foreach (const _L<MusicLibrary::Song>, song, library.GetSongs()) |
34 |
> |
std::cout << song->GetId() << ' ' << song->GetName() << ' ' << song->GetPath() << ' ' << song->GetTrack() << std::endl; |
35 |
|
} |
36 |
|
catch (const std::exception &exception) |
37 |
|
{ |