1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 #ifndef INCLUDED_SD_SOURCE_UI_REMOTECONTROL_DISCOVERYSERVICE_HXX
10 #define INCLUDED_SD_SOURCE_UI_REMOTECONTROL_DISCOVERYSERVICE_HXX
15 #include <osl/socket.hxx>
16 #include <osl/thread.hxx>
18 #include "ZeroconfService.hxx"
24 class DiscoveryService
: public osl::Thread
31 virtual ~DiscoveryService();
34 * Networking related setup -- must be run within our own thread
35 * to prevent the application blocking (fdo#75328).
39 static DiscoveryService
*spService
;
40 virtual void SAL_CALL
run() SAL_OVERRIDE
;
43 ZeroconfService
* zService
;
47 #endif // INCLUDED_SD_SOURCE_UI_REMOTECONTROL_DISCOVERYSERVICE_HXX
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */