You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			460 B
		
	
	
	
		
			C++
		
	
			
		
		
	
	
			22 lines
		
	
	
		
			460 B
		
	
	
	
		
			C++
		
	
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
						|
// Copyright The Music Player Daemon Project
 | 
						|
 | 
						|
#include "event/Loop.hxx"
 | 
						|
#include "ShutdownHandler.hxx"
 | 
						|
#include "zeroconf/Helper.hxx"
 | 
						|
 | 
						|
#include <stdlib.h>
 | 
						|
 | 
						|
int
 | 
						|
main([[maybe_unused]] int argc, [[maybe_unused]] char **argv)
 | 
						|
{
 | 
						|
	EventLoop event_loop;
 | 
						|
	const ShutdownHandler shutdown_handler(event_loop);
 | 
						|
 | 
						|
	const ZeroconfHelper helper(event_loop, "test", "_mpd._tcp", 1234);
 | 
						|
 | 
						|
	event_loop.Run();
 | 
						|
 | 
						|
	return EXIT_SUCCESS;
 | 
						|
}
 |