This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
/* |
| 2 |
* Copyright 2008-2011 Various Authors |
| 3 |
* Copyright 2006 Timo Hirvonen |
| 4 |
* |
| 5 |
* This program is free software; you can redistribute it and/or |
| 6 |
* modify it under the terms of the GNU General Public License as |
| 7 |
* published by the Free Software Foundation; either version 2 of the |
| 8 |
* License, or (at your option) any later version. |
| 9 |
* |
| 10 |
* This program is distributed in the hope that it will be useful, but |
| 11 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
* General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU General Public License |
| 16 |
* along with this program; if not, see <http://www.gnu.org/licenses/>. |
| 17 |
*/ |
| 18 |
|
| 19 |
#ifndef PL_H |
| 20 |
#define PL_H |
| 21 |
|
| 22 |
#include "editable.h" |
| 23 |
#include "track_info.h" |
| 24 |
#include "track.h" |
| 25 |
|
| 26 |
extern struct editable pl_editable; |
| 27 |
extern struct simple_track *pl_cur_track; |
| 28 |
|
| 29 |
void pl_init(void); |
| 30 |
struct track_info *pl_set_next(void); |
| 31 |
struct track_info *pl_set_prev(void); |
| 32 |
struct track_info *pl_set_selected(void); |
| 33 |
void pl_add_track(struct track_info *track_info); |
| 34 |
void pl_sel_current(void); |
| 35 |
void pl_reshuffle(void); |
| 36 |
int pl_for_each(int (*cb)(void *data, struct track_info *ti), void *data); |
| 37 |
|
| 38 |
#endif |