| 1 | /* ATK -  Accessibility Toolkit | 
| 2 |  * Copyright 2014 Igalia S.L. | 
| 3 |  * | 
| 4 |  * Author: Alejandro PiƱeiro Iglesias <apinheiro@igalia.com> | 
| 5 |  * | 
| 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. | 
| 10 |  * | 
| 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. | 
| 15 |  * | 
| 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. | 
| 20 |  */ | 
| 21 | #ifndef __ATK_RANGE_H__ | 
| 22 | #define __ATK_RANGE_H__ | 
| 23 |  | 
| 24 | #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION) | 
| 25 | #error "Only <atk/atk.h> can be included directly." | 
| 26 | #endif | 
| 27 |  | 
| 28 | #include <glib-object.h> | 
| 29 | #include <atk/atkversion.h> | 
| 30 |  | 
| 31 | G_BEGIN_DECLS | 
| 32 |  | 
| 33 | #define ATK_TYPE_RANGE         (atk_range_get_type ()) | 
| 34 |  | 
| 35 | typedef struct _AtkRange AtkRange; | 
| 36 |  | 
| 37 | /* AtkRange methods */ | 
| 38 | ATK_AVAILABLE_IN_2_12 | 
| 39 | GType atk_range_get_type (void); | 
| 40 |  | 
| 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); | 
| 45 |  | 
| 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); | 
| 56 |  | 
| 57 | G_END_DECLS | 
| 58 |  | 
| 59 | #endif /* __ATK_RANGE_H__ */ | 
| 60 |  |