Accessibility::StreamableContent - impl_content_stream_close,
[platform/core/uifw/at-spi2-atk.git] / idl / Accessibility_Value.idl
index aa18fce..4531879 100644 (file)
 
 module Accessibility {
 
-  enum ValueType {
-         SHORTVAL, 
-         USHORTVAL,
-         LONGVAL,
-         ULONGVAL,
-         FLOATVAL,
-         DOUBLEVAL
-  };
-
-  union SValue switch (ValueType) {
-         case Accessibility::SHORTVAL:  short val_short;
-         case Accessibility::USHORTVAL: unsigned short val_ushort;
-         case Accessibility::LONGVAL:   long val_long;
-         case Accessibility::ULONGVAL:  unsigned long val_ulong;
-         case Accessibility::FLOATVAL:  float val_float;
-         case Accessibility::DOUBLEVAL: double val_double;
-  };
-
+   /**
+    * An interface supporting controls which allow a
+    * one-dimensional, scalar quantity to be modified or which
+    * reflect a scalar quantity. (If STATE_EDITABLE is not present, 
+    * the valuator is treated as "read only".
+    *
+    * @note Events generated by Image instances include:
+    * \li \c "object:value-changed"
+    */
   interface Value : Bonobo::Unknown {
-    readonly attribute SValue minimumValue;
-    readonly attribute SValue maximumValue;
-    readonly attribute SValue minimumIncrement;
-    attribute SValue currentValue;
+    /**
+     * The minimum value allowed by this valuator.
+     */
+    readonly attribute double minimumValue;
+    /**
+     * The maximum value allowed by this valuator.
+     */
+    readonly attribute double maximumValue;
+    /**
+     * The smallest incremental change which this valuator allows.
+     * If 0, the incremental changes to the valuator are 
+     * limited only by the precision of a double precision value
+     * on the platform.
+     */
+    readonly attribute double minimumIncrement;
+    /**
+     * The current value of the valuator.
+     */
+    attribute double currentValue;
+
+    /** \cond
+     * unImplemented:
+     *
+     * placeholders for future expansion.
+     */
+    void unImplemented ();
+    void unImplemented2 ();
+    void unImplemented3 ();
+    void unImplemented4 ();
+    /** \endcond */
   };
 };