2013-08-01 12:55:07 +02:00
|
|
|
/* -*- 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/.
|
|
|
|
*/
|
2013-10-23 22:38:46 +02:00
|
|
|
#ifndef INCLUDED_SD_SOURCE_UI_REMOTECONTROL_AVAHINETWORKSERVICE_HXX
|
|
|
|
#define INCLUDED_SD_SOURCE_UI_REMOTECONTROL_AVAHINETWORKSERVICE_HXX
|
2013-07-25 12:03:31 +02:00
|
|
|
|
2013-07-26 02:04:45 +02:00
|
|
|
#include <string>
|
2013-07-25 15:45:19 +02:00
|
|
|
#include "ZeroconfService.hxx"
|
|
|
|
|
|
|
|
namespace sd {
|
|
|
|
|
|
|
|
class AvahiNetworkService : public ZeroconfService
|
|
|
|
{
|
|
|
|
public:
|
2013-07-26 02:04:45 +02:00
|
|
|
AvahiNetworkService(const std::string& aname = "", unsigned int aport = 1599)
|
2013-07-25 15:45:19 +02:00
|
|
|
: ZeroconfService(aname, aport){}
|
2013-07-25 17:23:25 +01:00
|
|
|
virtual ~AvahiNetworkService(){}
|
2013-07-25 15:45:19 +02:00
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
void clear() SAL_OVERRIDE;
|
|
|
|
void setup() SAL_OVERRIDE;
|
2013-07-25 15:45:19 +02:00
|
|
|
};
|
|
|
|
}
|
2013-07-25 12:03:31 +02:00
|
|
|
#endif
|