--- DecentralizedMedia/MediaFile.cpp 2005/06/21 03:34:13 516 +++ DecentralizedMedia/MediaFile.cpp 2005/07/02 06:56:04 540 @@ -10,9 +10,9 @@ #include "MediaFile.hpp" -MediaFile::MediaFile(_H& connection, const api::Path& path) : connection(connection), path(path) +MediaFile::MediaFile(_P& connection, const api::Path& path) : connection(connection), path(path) { - _H info(connection->Parse(_B("SELECT artist, title, album, genre FROM files WHERE path = ?"))->Execute(path.GetPath())); + _P info(connection->Parse(_B("SELECT artist, title, album, genre FROM files WHERE path = ?"))->Execute(path.GetPath())); if (info->MoveNext()) { @@ -25,9 +25,9 @@ MediaFile::MediaFile(_H throw; } -MediaFile::MediaFile(_H& connection, const api::Path& path, const ext::String& artist, const ext::String& title, const ext::String& album, const ext::String& genre, const api::Path& root) : connection(connection), path(path), artist(artist), title(title), album(album), genre(genre) +MediaFile::MediaFile(_P& connection, const api::Path& path, const cse::String& artist, const cse::String& title, const cse::String& album, const cse::String& genre, const api::Path& root) : connection(connection), path(path), artist(artist), title(title), album(album), genre(genre) { - _H path_(connection->Parse(_B("SELECT path FROM files WHERE path = ?"))->Execute(path.GetPath())); + _P path_(connection->Parse(_B("SELECT path FROM files WHERE path = ?"))->Execute(path.GetPath())); if (path_->MoveNext()) {