1 #include <cspi/spi-private.h>
5 * @obj: a pointer to the #AccessibleValue implementor on which to operate.
7 * Increment the reference count for an #AccessibleValue object.
11 AccessibleValue_ref (AccessibleValue *obj)
13 cspi_object_ref (obj);
17 * AccessibleValue_unref:
18 * @obj: a pointer to the #AccessibleValue implementor on which to operate.
20 * Decrement the reference count for an #AccessibleValue object.
24 AccessibleValue_unref (AccessibleValue *obj)
26 cspi_object_unref (obj);
30 * AccessibleValue_getMinimumValue:
31 * @obj: a pointer to the #AccessibleValue implementor on which to operate.
33 * Get the minimum allowed value for an #AccessibleValue.
35 * Returns: the minimum allowed value for this object.
39 AccessibleValue_getMinimumValue (AccessibleValue *obj)
42 Accessibility_Value__get_minimumValue (CSPI_OBJREF (obj), cspi_ev ());
48 * AccessibleValue_getCurrentValue:
49 * @obj: a pointer to the #AccessibleValue implementor on which to operate.
51 * Get the current value for an #AccessibleValue.
53 * Returns: the current value for this object.
57 AccessibleValue_getCurrentValue (AccessibleValue *obj)
60 Accessibility_Value__get_currentValue (CSPI_OBJREF (obj), cspi_ev ());
66 * AccessibleValue_getMaximumValue:
67 * @obj: a pointer to the #AccessibleValue implementor on which to operate.
69 * Get the maximum allowed value for an #AccessibleValue.
71 * Returns: the maximum allowed value for this object.
75 AccessibleValue_getMaximumValue (AccessibleValue *obj)
78 Accessibility_Value__get_maximumValue (CSPI_OBJREF (obj), cspi_ev ());
84 * AccessibleValue_setCurrentValue:
85 * @obj: a pointer to the #AccessibleValue implementor on which to operate.
86 * @newValue: a #float value which is the desired new value of the object.
88 * Set the current value of an #AccessibleValue.
90 * Returns: #TRUE if the value could be assigned the specified value,
95 AccessibleValue_setCurrentValue (AccessibleValue *obj,
98 Accessibility_Value__set_currentValue (CSPI_OBJREF (obj),
99 (CORBA_float) newValue, cspi_ev ());