mpd/test/ShutdownHandler.hxx

21 lines
418 B
C++
Raw Permalink Normal View History

// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
2013-10-18 08:56:25 +02:00
#ifndef MPD_TEST_SHUTDOWN_HANDLER_HXX
#define MPD_TEST_SHUTDOWN_HANDLER_HXX
class EventLoop;
class ShutdownHandler {
public:
explicit ShutdownHandler(EventLoop &loop);
2013-10-18 08:56:25 +02:00
~ShutdownHandler();
};
#ifdef _WIN32
inline ShutdownHandler::ShutdownHandler(EventLoop &) {}
inline ShutdownHandler::~ShutdownHandler() {}
2013-10-18 08:56:25 +02:00
#endif
#endif