Renamed SpiAccessibleEventListener to (just) SpiEventListener.
[platform/core/uifw/at-spi2-atk.git] / cspi / spi_value.c
index bca1357..78d2b56 100644 (file)
+/**
+ * AccessibleValue_ref:
+ * @obj: a pointer to the #AccessibleValue implementor on which to operate.
+ *
+ * Increment the reference count for an #AccessibleValue object.
+ *
+ * Returns: (no return code implemented yet).
+ *
+ **/
 int
-SpiAccessibleValue_ref (SpiAccessibleValue *obj)
-     {
-       Accessibility_SpiValue_ref (*obj, &ev);
-       return 0;
-     }
+AccessibleValue_ref (AccessibleValue *obj)
+{
+  Accessibility_Value_ref (*obj, &ev);
+  return 0;
+}
 
 
 
+/**
+ * AccessibleValue_unref:
+ * @obj: a pointer to the #AccessibleValue implementor on which to operate. 
+ *
+ * Decrement the reference count for an #AccessibleValue object.
+ *
+ * Returns: (no return code implemented yet).
+ *
+ **/
 int
-SpiAccessibleValue_unref (SpiAccessibleValue *obj)
-     {
-       Accessibility_SpiValue_unref (*obj, &ev);
-       return 0;
-     }
+AccessibleValue_unref (AccessibleValue *obj)
+{
+  Accessibility_Value_unref (*obj, &ev);
+  return 0;
+}
 
 
 
+/**
+ * AccessibleValue_getMinimumValue:
+ * @obj: a pointer to the #AccessibleValue implementor on which to operate. 
+ *
+ * Get the minimum allowed value for an #AccessibleValue.
+ *
+ * Returns: the minimum allowed value for this object.
+ *
+ **/
 float
-SpiAccessibleValue_getMinimumSpiValue (SpiAccessibleValue *obj)
+AccessibleValue_getMinimumValue (AccessibleValue *obj)
 {
   return (float)
-    Accessibility_SpiValue__get_minimumSpiValue (*obj, &ev);
+    Accessibility_Value__get_minimumValue (*obj, &ev);
 }
 
 
 
+/**
+ * AccessibleValue_getCurrentValue:
+ * @obj: a pointer to the #AccessibleValue implementor on which to operate. 
+ *
+ * Get the current value for an #AccessibleValue.
+ *
+ * Returns: the current value for this object.
+ *
+ **/
 float
-SpiAccessibleValue_getCurrentValue (SpiAccessibleValue *obj)
+AccessibleValue_getCurrentValue (AccessibleValue *obj)
 {
   return (float)
-    Accessibility_SpiValue__get_currentValue (*obj, &ev);
+    Accessibility_Value__get_currentValue (*obj, &ev);
 }
 
 
 
+/**
+ * AccessibleValue_getMaximumValue:
+ * @obj: a pointer to the #AccessibleValue implementor on which to operate. 
+ *
+ * Get the maximum allowed value for an #AccessibleValue.
+ *
+ * Returns: the maximum allowed value for this object.
+ *
+ **/
 float
-SpiAccessibleValue_getMaximumSpiValue (SpiAccessibleValue *obj)
+AccessibleValue_getMaximumValue (AccessibleValue *obj)
 {
   return (float)
-    Accessibility_SpiValue__get_maximumSpiValue (*obj, &ev);
+    Accessibility_Value__get_maximumValue (*obj, &ev);
 }
 
 
 
+/**
+ * AccessibleValue_setCurrentValue:
+ * @obj: a pointer to the #AccessibleValue implementor on which to operate.
+ * @newValue: a #float value which is the desired new value of the object.
+ *
+ * Set the current value of an #AccessibleValue.
+ *
+ * Returns: #TRUE if the value could be assigned the specified value,
+ *          #FALSE otherwise.
+ *
+ **/
 boolean
-SpiAccessibleValue_setCurrentValue (SpiAccessibleValue *obj,
-                                 float newSpiValue)
+AccessibleValue_setCurrentValue (AccessibleValue *obj,
+                                 float newValue)
 {
-  Accessibility_SpiValue__set_currentValue (*obj,
-                                        (CORBA_float) newSpiValue, &ev);
+  Accessibility_Value__set_currentValue (*obj,
+                                        (CORBA_float) newValue, &ev);
   return TRUE;
 }