#include <bonjourregister.h>
Public Member Functions | |
| BonjourRegister (QObject *parent=0) | |
| ~BonjourRegister () | |
| bool | Register (uint16_t port, const QByteArray &type, const QByteArray &name, const QByteArray &txt) |
Public Attributes | |
| QByteArray | m_name |
| QByteArray | m_type |
Private Slots | |
| void | socketReadyRead () |
Static Private Member Functions | |
| static void DNSSD_API | BonjourCallback (DNSServiceRef ref, DNSServiceFlags flags, DNSServiceErrorType errorcode, const char *name, const char *type, const char *domain, void *object) |
Private Attributes | |
| DNSServiceRef | m_dnssref |
| QSocketNotifier * | m_socket |
Definition at line 10 of file bonjourregister.h.
| BonjourRegister::BonjourRegister | ( | QObject * | parent = 0 |
) |
Definition at line 11 of file bonjourregister.cpp.
| BonjourRegister::~BonjourRegister | ( | ) |
Definition at line 17 of file bonjourregister.cpp.
| bool BonjourRegister::Register | ( | uint16_t | port, | |
| const QByteArray & | type, | |||
| const QByteArray & | name, | |||
| const QByteArray & | txt | |||
| ) |
Definition at line 35 of file bonjourregister.cpp.
Referenced by MediaServer::Init(), MythRAOPDevice::Start(), and MythAirplayServer::Start().
| void BonjourRegister::socketReadyRead | ( | ) | [private, slot] |
Definition at line 73 of file bonjourregister.cpp.
Referenced by Register().
| void BonjourRegister::BonjourCallback | ( | DNSServiceRef | ref, | |
| DNSServiceFlags | flags, | |||
| DNSServiceErrorType | errorcode, | |||
| const char * | name, | |||
| const char * | type, | |||
| const char * | domain, | |||
| void * | object | |||
| ) | [static, private] |
Definition at line 81 of file bonjourregister.cpp.
Referenced by Register().
| QByteArray BonjourRegister::m_name |
Definition at line 20 of file bonjourregister.h.
Referenced by BonjourCallback(), and ~BonjourRegister().
| QByteArray BonjourRegister::m_type |
Definition at line 21 of file bonjourregister.h.
Referenced by BonjourCallback(), and ~BonjourRegister().
DNSServiceRef BonjourRegister::m_dnssref [private] |
Definition at line 32 of file bonjourregister.h.
Referenced by Register(), socketReadyRead(), and ~BonjourRegister().
QSocketNotifier* BonjourRegister::m_socket [private] |
Definition at line 33 of file bonjourregister.h.
Referenced by Register(), and ~BonjourRegister().
1.6.3