PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 3ms RepoModel.GetById 38ms app.codeStats 0ms

/thirdparty/liblastfm2/src/types/Tasteometer.cpp

http://github.com/tomahawk-player/tomahawk
C++ | 20 lines | 16 code | 4 blank | 0 comment | 0 complexity | c993ca4156cadb2c2516382998dc6325 MD5 | raw file
 1#include "Tasteometer.h"
 2
 3#include "lastfm.h"
 4
 5lastfm::Tasteometer::Tasteometer()
 6{
 7}
 8
 9
10QNetworkReply*
11lastfm::Tasteometer::compare( const User& left, const User& right )
12{
13    QMap<QString, QString> map;
14    map["method"] = "Tasteometer.compare";
15    map["type1"] = "user";
16    map["value1"] = left.name();
17    map["type2"] = "user";
18    map["value2"] = right.name();
19    return lastfm::ws::get( map );
20}