doc: removing several .sgml files and fixing gtk-doc warnings
[platform/upstream/atk.git] / atk / atkvalue.h
index 42f9a28..56554d3 100755 (executable)
  * Boston, MA 02111-1307, USA.
  */
 
+#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
+#error "Only <atk/atk.h> can be included directly."
+#endif
+
 #ifndef __ATK_VALUE_H__
 #define __ATK_VALUE_H__
 
 #include <atk/atkobject.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
 
 /*
  * The AtkValue interface should be supported by any object that 
@@ -56,8 +58,9 @@ struct _AtkValueIface
   void     (* get_minimum_value) (AtkValue     *obj,
                                   GValue       *value);
   gboolean (* set_current_value) (AtkValue     *obj,
-                                  GValue       *value);
-
+                                  const GValue *value);
+  void     (* get_minimum_increment) (AtkValue   *obj,
+                                     GValue     *value);
 };
 
 GType            atk_value_get_type (void);
@@ -73,7 +76,10 @@ void     atk_value_get_minimum_value  (AtkValue     *obj,
                                        GValue       *value);
 
 gboolean atk_value_set_current_value  (AtkValue     *obj,
-                                       GValue       *value);
+                                       const GValue *value);
+
+void     atk_value_get_minimum_increment  (AtkValue     *obj,
+                                          GValue       *value);
 
 /*
  * Additional GObject properties exported by GaccessibleValue:
@@ -81,10 +87,6 @@ gboolean atk_value_set_current_value  (AtkValue     *obj,
  *       (the accessible value has changed)
  */
 
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
 
 #endif /* __ATK_VALUE_H__ */