|
1 /* |
|
2 * Copyright (C) 2008 Christian Dywan <christian@imendio.com> |
|
3 * |
|
4 * This library is free software; you can redistribute it and/or |
|
5 * modify it under the terms of the GNU Library General Public |
|
6 * License as published by the Free Software Foundation; either |
|
7 * version 2 of the License, or (at your option) any later version. |
|
8 * |
|
9 * This library is distributed in the hope that it will be useful, |
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
12 * Library General Public License for more details. |
|
13 * |
|
14 * You should have received a copy of the GNU Library General Public License |
|
15 * along with this library; see the file COPYING.LIB. If not, write to |
|
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
|
17 * Boston, MA 02110-1301, USA. |
|
18 */ |
|
19 |
|
20 #include "config.h" |
|
21 #include "webkitversion.h" |
|
22 |
|
23 /** |
|
24 * webkit_major_version: |
|
25 * |
|
26 * The major version number of the WebKit that is linked against. |
|
27 * |
|
28 * Return value: The major version |
|
29 * |
|
30 * Since: 1.0.1 |
|
31 */ |
|
32 guint webkit_major_version() |
|
33 { |
|
34 return WEBKIT_MAJOR_VERSION; |
|
35 } |
|
36 |
|
37 /** |
|
38 * webkit_minor_version: |
|
39 * |
|
40 * The minor version number of the WebKit that is linked against. |
|
41 * |
|
42 * Return value: The minor version |
|
43 * |
|
44 * Since: 1.0.1 |
|
45 */ |
|
46 guint webkit_minor_version() |
|
47 { |
|
48 return WEBKIT_MINOR_VERSION; |
|
49 } |
|
50 |
|
51 /** |
|
52 * webkit_micro_version: |
|
53 * |
|
54 * The micro version number of the WebKit that is linked against. |
|
55 * |
|
56 * Return value: The micro version |
|
57 * |
|
58 * Since: 1.0.1 |
|
59 */ |
|
60 guint webkit_micro_version() |
|
61 { |
|
62 return WEBKIT_MICRO_VERSION; |
|
63 } |