configure.ac: Don't allow UNIX IPC to be configured for a native Windows build.
[mpd-mk.git] / src / playlist_queue.h
blob530d4b4be0a8f2ae5b7a224d1183f45b1253231e
1 /*
2 * Copyright (C) 2003-2010 The Music Player Daemon Project
3 * http://www.musicpd.org
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 /*! \file
21 * \brief Glue between playlist plugin and the play queue
24 #ifndef MPD_PLAYLIST_QUEUE_H
25 #define MPD_PLAYLIST_QUEUE_H
27 #include "playlist.h"
29 struct playlist_provider;
30 struct playlist;
32 /**
33 * Loads the contents of a playlist and append it to the specified
34 * play queue.
36 * @param uri the URI of the playlist, used to resolve relative song
37 * URIs
39 enum playlist_result
40 playlist_load_into_queue(const char *uri, struct playlist_provider *source,
41 struct playlist *dest);
43 /**
44 * Opens a playlist with a playlist plugin and append to the specified
45 * play queue.
47 enum playlist_result
48 playlist_open_into_queue(const char *uri, struct playlist *dest);
50 #endif