1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19 
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module vte.Version;
26 
27 private import glib.Str;
28 private import vtec.vte;
29 public  import vtec.vtetypes;
30 
31 
32 /** */
33 public struct Version
34 {
35 
36 	/**
37 	 * Gets a list of features vte was compiled with.
38 	 *
39 	 * Return: a string with features
40 	 *
41 	 * Since: 0.40
42 	 */
43 	public static string getFeatures()
44 	{
45 		return Str.toString(vte_get_features());
46 	}
47 
48 	/**
49 	 * Returns the major version of the VTE library at runtime.
50 	 * Contrast this with %VTE_MAJOR_VERSION which represents
51 	 * the version of the VTE library that the code was compiled
52 	 * with.
53 	 *
54 	 * Return: the major version
55 	 *
56 	 * Since: 0.40
57 	 */
58 	public static uint getMajorVersion()
59 	{
60 		return vte_get_major_version();
61 	}
62 
63 	/**
64 	 * Returns the micro version of the VTE library at runtime.
65 	 * Contrast this with %VTE_MICRO_VERSION which represents
66 	 * the version of the VTE library that the code was compiled
67 	 * with.
68 	 *
69 	 * Return: the micro version
70 	 *
71 	 * Since: 0.40
72 	 */
73 	public static uint getMicroVersion()
74 	{
75 		return vte_get_micro_version();
76 	}
77 
78 	/**
79 	 * Returns the minor version of the VTE library at runtime.
80 	 * Contrast this with %VTE_MINOR_VERSION which represents
81 	 * the version of the VTE library that the code was compiled
82 	 * with.
83 	 *
84 	 * Return: the minor version
85 	 *
86 	 * Since: 0.40
87 	 */
88 	public static uint getMinorVersion()
89 	{
90 		return vte_get_minor_version();
91 	}
92 }