]> git.meshlink.io Git - catta/blobdiff - avahi-qt/qt-watch.h
Hide everything except for the avahi_qt_poll_get symbol if possible in the qt bindings
[catta] / avahi-qt / qt-watch.h
index 05b5010c7e7c7709cde64fcc5e9202be9840dc35..a702a7615ee4ce53a1432b8fd6bd5e6fa1caceaf 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef QAVAHI_H
 #define QAVAHI_H
 
+/* $Id$ */
+
 /***
   This file is part of avahi.
  
   USA.
 ***/
 
+/** \file qt-watch.h Qt main loop adapter */
+
 #include <avahi-common/watch.h>
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
 AVAHI_C_DECL_BEGIN
-#endif
-
-/**
-Setup abstract poll structure for integration with Qt main loop  */
 
-const AvahiPoll* avahi_qt_poll_get();
-
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-AVAHI_C_DECL_END
+/** Setup abstract poll structure for integration with Qt main loop  */
+const AvahiPoll* avahi_qt_poll_get(void)
+#ifdef HAVE_VISIBILITY_HIDDEN
+__attribute__ ((visibility("default")))
 #endif
+;
 
-
+AVAHI_C_DECL_END
 
 #endif