]> git.meshlink.io Git - catta/blobdiff - avahi-qt/qt-watch.h
fix avahi_netlink_new to allow multiple netlinks per process
[catta] / avahi-qt / qt-watch.h
index f6447ab2748498b3a7a73084969e1967cd6f32db..cd7130dd6cbfe549fd7e6881f29f8a4f1e22ca99 100644 (file)
@@ -1,21 +1,19 @@
 #ifndef QAVAHI_H
 #define QAVAHI_H
 
-/* $Id$ */
-
 /***
   This file is part of avahi.
+
   avahi is free software; you can redistribute it and/or modify it
   under the terms of the GNU Lesser General Public License as
   published by the Free Software Foundation; either version 2.1 of the
   License, or (at your option) any later version.
+
   avahi is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
   Public License for more details.
+
   You should have received a copy of the GNU Lesser General Public
   License along with avahi; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 
 #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(void);
+/** 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
+;
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
 AVAHI_C_DECL_END
-#endif
 
 #endif