24 #include <ktorrent_export.h>
25 #include <util/constants.h>
27 #define LIBKTORRENT_MAJOR 1
28 #define LIBKTORRENT_MINOR 9
29 #define LIBKTORRENT_RELEASE 50
30 #define LIBKTORRENT_VERSION ((LIBKTORRENT_MAJOR << 16) | (LIBKTORRENT_MINOR << 8) | LIBKTORRENT_RELEASE)
55 KTORRENT_EXPORT
void SetClientInfo(
const QString & name,
int major,
int minor,
int release,VersionType type,
const QString & peer_id_code);
61 KTORRENT_EXPORT QString PeerIDPrefix();
66 KTORRENT_EXPORT QString GetVersionString();
70 const Uint32 MAJOR = LIBKTORRENT_MAJOR;
72 const Uint32 MINOR = LIBKTORRENT_MINOR;
74 const VersionType VERSION_TYPE = DEVEL;
76 const Uint32 BETA_ALPHA_RC_RELEASE = 0;
78 const Uint32 RELEASE = LIBKTORRENT_RELEASE;