2023-03-06 14:42:04 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// Copyright The Music Player Daemon Project
|
2008-10-14 22:38:14 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Support library for the "idle" command.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2013-01-09 08:36:52 +01:00
|
|
|
#ifndef MPD_IDLE_HXX
|
|
|
|
#define MPD_IDLE_HXX
|
2008-10-14 22:38:14 +02:00
|
|
|
|
2016-03-05 20:48:37 +01:00
|
|
|
#include "IdleFlags.hxx"
|
2014-02-12 21:46:16 +01:00
|
|
|
|
2008-10-14 22:38:14 +02:00
|
|
|
/**
|
|
|
|
* Adds idle flag (with bitwise "or") and queues notifications to all
|
|
|
|
* clients.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
idle_add(unsigned flags);
|
|
|
|
|
|
|
|
#endif
|