Files
libreoffice/sd/source/ui/remotecontrol/BluetoothServer.hxx
Thorsten Behrens c50fdef7cf cleanup - no need for salhelper::Thread mostly
Change-Id: I27461e094141efd364a2c21da75151da490da2f3
2012-11-24 15:01:44 +01:00

40 lines
1.1 KiB
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _SD_IMPRESSREMOTE_BLUETOOTHSERVER_HXX
#define _SD_IMPRESSREMOTE_BLUETOOTHSERVER_HXX
#include <osl/thread.hxx>
#include <vector>
namespace sd
{
class Communicator;
class BluetoothServer:
public osl::Thread
{
public:
static void setup( std::vector<Communicator*>* pCommunicators );
static bool isDiscoverable();
static void setDiscoverable( bool aDiscoverable );
private:
BluetoothServer( std::vector<Communicator*>* pCommunicators );
~BluetoothServer();
static BluetoothServer *spServer;
virtual void SAL_CALL run();
std::vector<Communicator*>* mpCommunicators;
};
}
#endif // _SD_IMPRESSREMOTE_BLUETOOTHSERVER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */