add G_DISABLE_SINGLE_INCLUDES and ATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
[platform/upstream/atk.git] / atk / atkhyperlink.h
index a5d3716..01bab83 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_HYPERLINK_H__
 #define __ATK_HYPERLINK_H__
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
 #include <atk/atkaction.h>
 
+G_BEGIN_DECLS
+
 /*
  * AtkHyperlink encapsulates a link or set of links in a hypertext document.
  *
@@ -97,10 +99,6 @@ gboolean         atk_hyperlink_is_inline             (AtkHyperlink     *link_);
 gint            atk_hyperlink_get_n_anchors        (AtkHyperlink     *link_);
 gboolean         atk_hyperlink_is_selected_link     (AtkHyperlink     *link_);
 
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
 
 #endif /* __ATK_HYPERLINK_H__ */