#ifndef playlist_h
#define playlist_h

#define ICON_DROP_BOX   0
#define ICON_LABEL_1    1
#define ICON_LABEL_2    2
#define ICON_FILE_MPEG  3
#define ICON_FILE_DIR   4
#define ICON_INCL_SUB   5
#define ICON_COUNT      6
#define ICON_CANCEL_PL  8
#define ICON_OUT_FRAME  9
#define ICON_FILE_TEXT 10
#define ICON_FILENAME  11
#define ICON_SAVE_PL   12

void playlist_update(void);
void playlist_open(void);
void playlist_close(void);
void playlist_add(const char* name);
void playlist_save(const char* name);
int playlist_accept(int file_type);
void playlist_dir_add(const char* name);
void playlist_send(int type, const char* name);

extern int recursive;

#endif
