mpd/test/RunZeroconf.cxx

22 lines
460 B
C++
Raw Normal View History

// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
2013-10-18 08:37:28 +02:00
#include "event/Loop.hxx"
#include "ShutdownHandler.hxx"
#include "zeroconf/Helper.hxx"
2013-10-18 08:37:28 +02:00
#include <stdlib.h>
int
main([[maybe_unused]] int argc, [[maybe_unused]] char **argv)
2013-10-18 08:37:28 +02:00
{
EventLoop event_loop;
2013-10-18 08:37:28 +02:00
const ShutdownHandler shutdown_handler(event_loop);
const ZeroconfHelper helper(event_loop, "test", "_mpd._tcp", 1234);
2013-10-18 08:37:28 +02:00
event_loop.Run();
return EXIT_SUCCESS;
}