2 // C++ Interface: common
4 // Author: Oliver Groß <z.o.gross@gmx.de>, (C) 2008
6 // Copyright: See COPYING file that comes with this distribution
9 #ifndef XMMSQT_COMMON_H
10 #define XMMSQT_COMMON_H
11 #include <xmmsclient/xmmsclient.h>
14 inline void connectNotifierUnref(xmmsc_result_t
* result
, xmmsc_result_notifier_t callback
, void * userdata
) {
15 xmmsc_result_notifier_set(result
, callback
, userdata
);
16 xmmsc_result_unref(result
);
19 inline void disconnectNotifierUnref(xmmsc_result_t
* result
) {
20 xmmsc_result_disconnect(result
);
21 xmmsc_result_unref(result
);