User.h | User.h | |||
---|---|---|---|---|
skipping to change at line 32 | skipping to change at line 32 | |||
#include <QStringList> | #include <QStringList> | |||
#include "AbstractType.h" | #include "AbstractType.h" | |||
#include "ws.h" | #include "ws.h" | |||
namespace lastfm | namespace lastfm | |||
{ | { | |||
class UserList; | class UserList; | |||
class XmlQuery; | class XmlQuery; | |||
class Artist; | ||||
class LASTFM_DLLEXPORT Gender | class LASTFM_DLLEXPORT Gender | |||
{ | { | |||
public: | public: | |||
Gender(); | Gender(); | |||
Gender( const Gender& gender ); | Gender( const Gender& gender ); | |||
Gender( const QString& ss ); | Gender( const QString& ss ); | |||
~Gender(); | ~Gender(); | |||
skipping to change at line 106 | skipping to change at line 107 | |||
Gender gender() const; | Gender gender() const; | |||
QString country() const; | QString country() const; | |||
QString realName() const; | QString realName() const; | |||
void setRealName( const QString& realName ); | void setRealName( const QString& realName ); | |||
QUrl imageUrl( ImageSize size = LargeImage, bool square = false ) c onst; | QUrl imageUrl( ImageSize size = LargeImage, bool square = false ) c onst; | |||
void setImages( const QList<QUrl>& images ); | void setImages( const QList<QUrl>& images ); | |||
unsigned short age() const; | ||||
void setAge( unsigned short age ); | void setAge( unsigned short age ); | |||
void setGender( const QString& s ); | void setGender( const QString& s ); | |||
void setCountry( const QString& country ); | void setCountry( const QString& country ); | |||
/** use Tag::list() on the response to get a WeightedStringList */ | /** use Tag::list() on the response to get a WeightedStringList */ | |||
QNetworkReply* getTopTags() const; | QNetworkReply* getTopTags() const; | |||
/** use User::list() on the response to get a UserList */ | /** use User::list() on the response to get a UserList */ | |||
QNetworkReply* getFriends( bool recentTracks = false, int limit = 50, int page = 1 ) const; | QNetworkReply* getFriends( bool recentTracks = false, int limit = 50, int page = 1 ) const; | |||
QNetworkReply* getFriendsListeningNow( int limit = 50, int page = 1 ) const; | QNetworkReply* getFriendsListeningNow( int limit = 50, int page = 1 ) const; | |||
QNetworkReply* getFriendsThatListenTo( const lastfm::Artist& artist , int limit = 50, int page = 1 ) const; | ||||
QNetworkReply* getNeighbours( int limit = 50, int page = 1 ) const; | QNetworkReply* getNeighbours( int limit = 50, int page = 1 ) const; | |||
QNetworkReply* getLovedTracks( int limit = 50, int page = 1 ) const ; | QNetworkReply* getLovedTracks( int limit = 50, int page = 1 ) const ; | |||
QNetworkReply* getPlaylists() const; | QNetworkReply* getPlaylists() const; | |||
QNetworkReply* getTopArtists( QString period = "overall", int limit = 50, int page = 1 ) const; | QNetworkReply* getTopArtists( QString period = "overall", int limit = 50, int page = 1 ) const; | |||
QNetworkReply* getRecentTracks( int limit = 50, int page = 1 ) cons t; | QNetworkReply* getRecentTracks( int limit = 50, int page = 1 ) cons t; | |||
QNetworkReply* getRecentArtists() const; | QNetworkReply* getRecentArtists() const; | |||
QNetworkReply* getRecentStations( int limit = 10, int page = 1 ) const; | QNetworkReply* getRecentStations( int limit = 10, int page = 1 ) const; | |||
QNetworkReply* getRecommendedArtists( int limit = 50, int page = 1 ) const; | QNetworkReply* getRecommendedArtists( int limit = 50, int page = 1 ) const; | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||
global.h | global.h | |||
---|---|---|---|---|
skipping to change at line 24 | skipping to change at line 24 | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU General Public License for more details. | GNU General Public License for more details. | |||
You should have received a copy of the GNU General Public License | You should have received a copy of the GNU General Public License | |||
along with liblastfm. If not, see <http://www.gnu.org/licenses/>. | along with liblastfm. If not, see <http://www.gnu.org/licenses/>. | |||
*/ | */ | |||
#ifndef LASTFM_GLOBAL_H | #ifndef LASTFM_GLOBAL_H | |||
#define LASTFM_GLOBAL_H | #define LASTFM_GLOBAL_H | |||
#define LASTFM_VERSION 0x00010000 | #define LASTFM_VERSION 0x00010002 | |||
#define LASTFM_VERSION_STRING "1.0.0" | #define LASTFM_VERSION_STRING "1.0.2" | |||
#define LASTFM_MAJOR_VERSION 1 | #define LASTFM_MAJOR_VERSION 1 | |||
#define LASTFM_MINOR_VERSION 0 | #define LASTFM_MINOR_VERSION 0 | |||
#define LASTFM_PATCH_VERSION 0 | #define LASTFM_PATCH_VERSION 2 | |||
#ifndef LASTFM_LIB_STATIC | #ifndef LASTFM_LIB_STATIC | |||
#ifdef LASTFM_LIB | #ifdef LASTFM_LIB | |||
#define LASTFM_DLLEXPORT Q_DECL_EXPORT | #define LASTFM_DLLEXPORT Q_DECL_EXPORT | |||
#else | #else | |||
#define LASTFM_DLLEXPORT Q_DECL_IMPORT | #define LASTFM_DLLEXPORT Q_DECL_IMPORT | |||
#endif | #endif | |||
#ifdef LASTFM_FINGERPRINT_LIB | #ifdef LASTFM_FINGERPRINT_LIB | |||
#define LASTFM_FINGERPRINT_DLLEXPORT Q_DECL_EXPORT | #define LASTFM_FINGERPRINT_DLLEXPORT Q_DECL_EXPORT | |||
#else | #else | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||