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."
25 #ifndef __ATK_RANGE_H__
26 #define __ATK_RANGE_H__
28 #include <glib-object.h>
32 #define ATK_TYPE_RANGE (atk_range_get_type ())
34 typedef struct _AtkRange AtkRange;
36 /* AtkRange methods */
37 GType atk_range_get_type (void);
39 AtkRange* atk_range_copy (AtkRange *src);
40 void atk_range_free (AtkRange *range);
42 gdouble atk_range_get_lower_limit (AtkRange *range);
43 gdouble atk_range_get_upper_limit (AtkRange *range);
44 const gchar* atk_range_get_description (AtkRange *range);
45 AtkRange* atk_range_new (gdouble lower_limit,
47 const gchar *description);
51 #endif /* __ATK_RANGE_H__ */