~ubuntu-branches/ubuntu/oneiric/libktorrent/oneiric

« back to all changes in this revision

Viewing changes to src/version.h

  • Committer: Bazaar Package Importer
  • Author(s): Modestas Vainius
  • Date: 2011-05-26 00:33:38 UTC
  • mfrom: (5.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110526003338-2r4zwyzn8bovsxay
Tags: 1.1.1-2
Release to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <util/constants.h>
26
26
 
27
27
#define LIBKTORRENT_MAJOR 1
28
 
#define LIBKTORRENT_MINOR 0
29
 
#define LIBKTORRENT_RELEASE 5
 
28
#define LIBKTORRENT_MINOR 1
 
29
#define LIBKTORRENT_RELEASE 1
30
30
#define LIBKTORRENT_VERSION ((LIBKTORRENT_MAJOR << 16) | (LIBKTORRENT_MINOR << 8) | LIBKTORRENT_RELEASE)
31
31
 
32
 
 
33
32
class QString;
34
33
 
35
34
namespace bt 
36
35
{
37
36
        enum VersionType
38
37
        {
39
 
                NORMAL,ALPHA,BETA,RELEASE_CANDIDATE,DEVEL
 
38
                ALPHA,
 
39
                BETA,
 
40
                RELEASE_CANDIDATE,
 
41
                DEVEL,
 
42
                NORMAL
40
43
        };
41
44
        
42
45
        /**
69
72
        const Uint32 MINOR = LIBKTORRENT_MINOR;
70
73
        /// Version type of the ktorrent library
71
74
        const VersionType VERSION_TYPE = NORMAL;
72
 
        /// Release version number of the ktorrent library
 
75
        /// Release version number only applicable for betas, alphas and rc's of libktorrent
 
76
        const Uint32 BETA_ALPHA_RC_RELEASE = 0;
 
77
        /// Release version number of the ktorrent library (only for normal releases)
73
78
        const Uint32 RELEASE = LIBKTORRENT_RELEASE;
74
79
}
75
80