Skip to content

Commit

Permalink
Style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Hieta committed Apr 27, 2015
1 parent e53cf44 commit e6b70dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plex/Client/PlexNetworkServiceBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

using namespace std;

/////////////////////////////////////////////////////////////////////////////////////////
void CPlexNetworkServiceBrowser::handleServiceArrival(NetworkServicePtr& service)
{
CPlexServerPtr server = CPlexServerPtr(new CPlexServer(service->getResourceIdentifier(), service->getParam("Name"), true));
Expand Down Expand Up @@ -69,6 +70,7 @@ void CPlexNetworkServiceBrowser::handleServiceArrival(NetworkServicePtr& service
g_plexApplication.timer->RestartTimeout(5000, this);
}

/////////////////////////////////////////////////////////////////////////////////////////
void CPlexNetworkServiceBrowser::handleServiceDeparture(NetworkServicePtr& service)
{
CLog::Log(LOGDEBUG,
Expand All @@ -92,6 +94,7 @@ void CPlexNetworkServiceBrowser::handleServiceDeparture(NetworkServicePtr& servi
g_plexApplication.timer->RestartTimeout(5000, this);
}

/////////////////////////////////////////////////////////////////////////////////////////
void CPlexNetworkServiceBrowser::handleNetworkChange(const vector<NetworkInterface>& interfaces)
{
NetworkServiceBrowser::handleNetworkChange(interfaces);
Expand All @@ -108,6 +111,7 @@ void CPlexNetworkServiceBrowser::handleNetworkChange(const vector<NetworkInterfa
g_plexApplication.timer->RestartTimeout(5000, this);
}

/////////////////////////////////////////////////////////////////////////////////////////
void CPlexNetworkServiceBrowser::OnTimeout()
{
CSingleLock lk(m_serversSection);
Expand All @@ -125,6 +129,7 @@ void CPlexNetworkServiceBrowser::OnTimeout()
g_plexApplication.timer->RestartTimeout(5 * 60 * 1000, this);
}

/////////////////////////////////////////////////////////////////////////////////////////
void CPlexServiceListener::Process()
{
dprintf("CPlexServiceListener: Initializing.");
Expand Down

0 comments on commit e6b70dc

Please sign in to comment.