~ubuntu-branches/debian/jessie/sqlheavy/jessie

« back to all changes in this revision

Viewing changes to sqlheavy/sqlheavy-version.vala.in

  • Committer: Package Import Robot
  • Author(s): Devid Antonio Filoni
  • Date: 2012-05-17 09:47:17 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120517094717-ue17pqaud5tywjj5
Tags: 0.1.1-1
* New upstream release (Closes: #663320).
* Fix debug-package-should-be-priority-extra lintian warning.
* debian/control: switch to vala-0.16 in Build-Depends field.
* debian/libsqlheavy-dev.install, debian/libsqlheavygtk-dev.install:
  install files in vala-0.16 dir.
* Update libsqlheavy0.1-0.symbols.amd64 file.
* debian/rules: update override_dh_makeshlibs target.
* Bump Standards-Version to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
namespace SQLHeavy {
2
 
  /**
3
 
   * Version information
4
 
   */
5
 
  namespace Version {
6
 
    /**
7
 
     * Major version
8
 
     */
9
 
    public const int MAJOR = @SQLHEAVY_MAJOR_VERSION@;
10
 
    /**
11
 
     * Minor version
12
 
     */
13
 
    public const int MINOR = @SQLHEAVY_MINOR_VERSION@;
14
 
    /**
15
 
     * Micro version
16
 
     */
17
 
    public const int MICRO = @SQLHEAVY_MICRO_VERSION@;
18
 
    /**
19
 
     * Version as a string
20
 
     */
21
 
    public const string STRING = "@SQLHEAVY_VERSION@";
22
 
    /**
23
 
     * API version
24
 
     */
25
 
    public const string API = "@SQLHEAVY_API_VERSION@";
26
 
 
27
 
    /**
28
 
     * Return an integer representation of the version currenly in
29
 
     * use.
30
 
     *
31
 
     * This result is major * 1000000 + minor * 1000 + micro.
32
 
     *
33
 
     * @return the version number of the library
34
 
     */
35
 
    public int library () {
36
 
      return (SQLHeavy.Version.MAJOR * 1000000) + (SQLHeavy.Version.MINOR * 1000) + SQLHeavy.Version.MICRO;
37
 
    }
38
 
 
39
 
    /**
40
 
     * Return an integer representation of the SQLite version
41
 
     * currently in use.
42
 
     *
43
 
     * This function is just an alias for
44
 
     * Sqlite.libversion_number. The version is number is in the same
45
 
     * format as the result of the {@link library} function.
46
 
     *
47
 
     * @return the version number of the SQLite library
48
 
     * @see library
49
 
     */
50
 
    public int sqlite_library () {
51
 
      return Sqlite.libversion_number ();
52
 
    }
53
 
  }
54
 
}