2009-03-13 18:43:16 +01:00
|
|
|
/*
|
2019-06-17 11:17:30 +02:00
|
|
|
* Copyright 2003-2019 The Music Player Daemon Project
|
2009-03-13 18:43:16 +01:00
|
|
|
* http://www.musicpd.org
|
2008-10-14 22:38:14 +02:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2009-03-13 18:43:16 +01:00
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
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
|