/usr/include/qxt/QxtZeroconf/qxtservicebrowser_p.h is in libqxt-dev 0.6.1-4ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #ifndef QXTSERVICEBROWSER_P_H
#define QXTSERVICEBROWSER_P_H
#include "qxtservicebrowser.h"
#include <dns_sd.h>
#include <QStringList>
class QSocketNotifier;
class QxtServiceBrowserPrivate : public QObject, public QxtPrivate<QxtServiceBrowser>
{
Q_OBJECT
public:
QXT_DECLARE_PUBLIC(QxtServiceBrowser)
QxtServiceBrowserPrivate() {
notifier = 0;
iface = 0;
}
DNSServiceRef service;
QString domain;
QAbstractSocket::SocketType socketType;
QString serviceType;
QStringList serviceSubTypes;
int iface;
QSocketNotifier* notifier;
static void DNSSD_API browseServiceCallback(DNSServiceRef service, DNSServiceFlags flags, quint32 iface, DNSServiceErrorType errCode,
const char* serviceName, const char* regtype, const char* replyDomain, void* context);
public Q_SLOTS:
void socketData();
};
#endif // QXTSERVICEBROWSER_P_H
|