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 vte.c.functions;
29 public  import vte.c.types;
30 public  import vtec.vtetypes;
31 
32 
33 /** */
34 public struct Version
35 {
36 
37 	/**
38 	 * Gets a list of features vte was compiled with.
39 	 *
40 	 * Returns: a string with features
41 	 *
42 	 * Since: 0.40
43 	 */
44 	public static string getFeatures()
45 	{
46 		return Str.toString(vte_get_features());
47 	}
48 
49 	/**
50 	 * Returns the major version of the VTE library at runtime.
51 	 * Contrast this with %VTE_MAJOR_VERSION which represents
52 	 * the version of the VTE library that the code was compiled
53 	 * with.
54 	 *
55 	 * Returns: the major version
56 	 *
57 	 * Since: 0.40
58 	 */
59 	public static uint getMajorVersion()
60 	{
61 		return vte_get_major_version();
62 	}
63 
64 	/**
65 	 * Returns the micro version of the VTE library at runtime.
66 	 * Contrast this with %VTE_MICRO_VERSION which represents
67 	 * the version of the VTE library that the code was compiled
68 	 * with.
69 	 *
70 	 * Returns: the micro version
71 	 *
72 	 * Since: 0.40
73 	 */
74 	public static uint getMicroVersion()
75 	{
76 		return vte_get_micro_version();
77 	}
78 
79 	/**
80 	 * Returns the minor version of the VTE library at runtime.
81 	 * Contrast this with %VTE_MINOR_VERSION which represents
82 	 * the version of the VTE library that the code was compiled
83 	 * with.
84 	 *
85 	 * Returns: the minor version
86 	 *
87 	 * Since: 0.40
88 	 */
89 	public static uint getMinorVersion()
90 	{
91 		return vte_get_minor_version();
92 	}
93 }