diff options
Diffstat (limited to 'Swiften/LinkLocal/BonjourQuery.cpp')
| -rw-r--r-- | Swiften/LinkLocal/BonjourQuery.cpp | 31 | 
1 files changed, 0 insertions, 31 deletions
diff --git a/Swiften/LinkLocal/BonjourQuery.cpp b/Swiften/LinkLocal/BonjourQuery.cpp deleted file mode 100644 index a9c13fb..0000000 --- a/Swiften/LinkLocal/BonjourQuery.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include "Swiften/LinkLocal/BonjourQuery.h" -#include "Swiften/LinkLocal/BonjourQuerier.h" - -namespace Swift { - -BonjourQuery::BonjourQuery(boost::shared_ptr<BonjourQuerier> q) : querier(q), sdRef(0) { -} - -BonjourQuery::~BonjourQuery() { -	DNSServiceRefDeallocate(sdRef); -} - -void BonjourQuery::processResult() { -	boost::lock_guard<boost::mutex> lock(sdRefMutex); -	DNSServiceProcessResult(sdRef); -} - -int BonjourQuery::getSocketID() const { -	boost::lock_guard<boost::mutex> lock(sdRefMutex); -	return DNSServiceRefSockFD(sdRef); -} - -void BonjourQuery::run() { -	querier->addRunningQuery(shared_from_this()); -} - -void BonjourQuery::finish() { -	querier->removeRunningQuery(shared_from_this()); -} - -}  | 
 Swift