Annotate the Public Symbols in Public Headers
[atk.git] / atk / atkrange.h
blob0dd585c8c4c9fc5a4a3278a744d7310074966021
1 /* ATK - Accessibility Toolkit
2 * Copyright 2014 Igalia S.L.
4 * Author: Alejandro PiƱeiro Iglesias <apinheiro@igalia.com>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
21 #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
22 #error "Only <atk/atk.h> can be included directly."
23 #endif
25 #ifndef __ATK_RANGE_H__
26 #define __ATK_RANGE_H__
28 #include <glib-object.h>
29 #include <atk/atkversion.h>
31 G_BEGIN_DECLS
33 #define ATK_TYPE_RANGE (atk_range_get_type ())
35 typedef struct _AtkRange AtkRange;
37 /* AtkRange methods */
38 ATK_AVAILABLE_IN_2_12
39 GType atk_range_get_type (void);
41 ATK_AVAILABLE_IN_2_12
42 AtkRange* atk_range_copy (AtkRange *src);
43 ATK_AVAILABLE_IN_2_12
44 void atk_range_free (AtkRange *range);
46 ATK_AVAILABLE_IN_2_12
47 gdouble atk_range_get_lower_limit (AtkRange *range);
48 ATK_AVAILABLE_IN_2_12
49 gdouble atk_range_get_upper_limit (AtkRange *range);
50 ATK_AVAILABLE_IN_2_12
51 const gchar* atk_range_get_description (AtkRange *range);
52 ATK_AVAILABLE_IN_2_12
53 AtkRange* atk_range_new (gdouble lower_limit,
54 gdouble upper_limit,
55 const gchar *description);
57 G_END_DECLS
59 #endif /* __ATK_RANGE_H__ */