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 #ifndef __ATK_RANGE_H__
22 #define __ATK_RANGE_H__
24 #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
25 #error "Only <atk/atk.h> can be included directly."
28 #include <glib-object.h>
29 #include <atk/atkversion.h>
33 #define ATK_TYPE_RANGE (atk_range_get_type ())
35 typedef struct _AtkRange AtkRange
;
37 /* AtkRange methods */
39 GType
atk_range_get_type (void);
42 AtkRange
* atk_range_copy (AtkRange
*src
);
44 void atk_range_free (AtkRange
*range
);
47 gdouble
atk_range_get_lower_limit (AtkRange
*range
);
49 gdouble
atk_range_get_upper_limit (AtkRange
*range
);
51 const gchar
* atk_range_get_description (AtkRange
*range
);
53 AtkRange
* atk_range_new (gdouble lower_limit
,
55 const gchar
*description
);
59 #endif /* __ATK_RANGE_H__ */