46
46
virtual ~FreedbClient();
49
* Construct a query command in m_request to search on the server.
49
* Send a query command to search on the server.
51
51
* @param cfg import source configuration
52
52
* @param artist artist to search
53
53
* @param album album to search
54
* @param dest the server to connect to is returned here
55
* @param destPort the port of the server is returned here
57
virtual void constructFindQuery(
55
virtual void sendFindQuery(
58
56
const ImportSourceConfig* cfg,
59
const QString& artist, const QString& album,
60
QString& dest, int& destPort);
57
const QString& artist, const QString& album);
63
* Construct a query command in m_request to fetch the track list
60
* Send a query command to fetch the track list
66
63
* @param cfg import source configuration
67
64
* @param cat category
69
* @param dest the server to connect to is returned here
70
* @param destPort the port of the server is returned here
72
virtual void constructTrackListQuery(
73
const ImportSourceConfig* cfg, const QString& cat, const QString& id,
74
QString& dest, int& destPort);
67
virtual void sendTrackListQuery(
68
const ImportSourceConfig* cfg, const QString& cat, const QString& id);