X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-qt%2Fqt-watch.h;h=cd7130dd6cbfe549fd7e6881f29f8a4f1e22ca99;hb=8070ec2ac51219c462ac05238eab239461c38454;hp=b49b45da289f32a53640085d519a222856d544ae;hpb=2a73209f103f0e348416be95fa557426b921831e;p=catta diff --git a/avahi-qt/qt-watch.h b/avahi-qt/qt-watch.h index b49b45d..cd7130d 100644 --- a/avahi-qt/qt-watch.h +++ b/avahi-qt/qt-watch.h @@ -3,38 +3,36 @@ /*** 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 USA. ***/ +/** \file qt-watch.h Qt main loop adapter */ + #include -#ifndef DOXYGEN_SHOULD_SKIP_THIS AVAHI_C_DECL_BEGIN -#endif -/** -Setup abstract poll structure for integration with Qt main loop */ - -void create_qt_poll(AvahiPoll* poll); - -#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