+/*
+ * AT-SPI - Assistive Technology Service Provider Interface
+ * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
+ *
+ * Copyright 2001, 2002 Sun Microsystems Inc.,
+ * Copyright 2001, 2002 Ximian, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <cspi/spi-private.h>
/**
* Returns: the minimum allowed value for this object.
*
**/
-float
+double
AccessibleValue_getMinimumValue (AccessibleValue *obj)
{
- float retval;
+ double retval;
cspi_return_val_if_fail (obj != NULL, 0.0);
retval =
Accessibility_Value__get_minimumValue (CSPI_OBJREF (obj), cspi_ev ());
-
+
cspi_return_val_if_ev ("getMinimumValue", 0.0);
return retval;
*
* Returns: the current value for this object.
**/
-float
+double
AccessibleValue_getCurrentValue (AccessibleValue *obj)
{
- float retval;
+ double retval;
cspi_return_val_if_fail (obj != NULL, 0.0);
*
* Returns: the maximum allowed value for this object.
**/
-float
+double
AccessibleValue_getMaximumValue (AccessibleValue *obj)
{
- float retval;
-
+ double retval;
cspi_return_val_if_fail (obj != NULL, 0.0);
retval =
**/
SPIBoolean
AccessibleValue_setCurrentValue (AccessibleValue *obj,
- float newValue)
+ double newValue)
{
cspi_return_val_if_fail (obj != NULL, FALSE);
Accessibility_Value__set_currentValue (
- CSPI_OBJREF (obj), (CORBA_float) newValue, cspi_ev ());
+ CSPI_OBJREF (obj), newValue, cspi_ev ());
cspi_return_val_if_ev ("setCurrentValue", FALSE);