fe9e22b8e1d3cfad194c4633a96505589dd75891
[melted_gui] / src / playlist.h
1 /*
2 * playlist.h -- GTK+ 2 melted gui
3 * Copyright (C) 2012 Maksym Veremeyenko <verem@m1stereo.tv>
4 *
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.
9 *
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.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software Foundation,
17 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
19
20 #ifndef PLAYLIST_H
21 #define PLAYLIST_H
22
23 #include "instance.h"
24
25 #ifdef __cplusplus
26 extern "C"
27 {
28 #endif /* __cplusplus */
29
30 /*
31 find local playlist index by given start search position value and remote playlist item index
32 used to associate remote item with local
33 */
34 int playlist_item_index(instance_t* app, int start, int idx);
35
36 #if 0
37 void omnplay_playlist_load(omnplay_instance_t* app);
38 void omnplay_playlist_save(omnplay_instance_t* app);
39 void omnplay_playlist_relink(omnplay_instance_t* app);
40 void omnplay_playlist_draw(omnplay_instance_t* app);
41 void omnplay_playlist_draw_item(omnplay_instance_t* app, int idx);
42 void omnplay_playlist_draw_item_rem(omnplay_instance_t* app, int idx, char* rem);
43 #endif
44
45 #ifdef __cplusplus
46 };
47 #endif /* __cplusplus */
48
49 #endif /* PLAYLIST_H */