view src/streambrowser/streambrowser.h @ 2791:f9c6a9cb442e

streambrowser has now an icon
author Calin Crisan ccrisan@gmail.com
date Wed, 09 Jul 2008 22:52:56 +0300
parents d45b4beadf6c
children 7977bdc02664
line wrap: on
line source


#ifndef STREAMBROWSER_H
#define STREAMBROWSER_H

#include <glib.h>

#include <config.h>
#include <audacious/i18n.h>

#define DEF_STRING_LEN				1024
#define DEF_BUFFER_SIZE				512
#define MAX_UPDATE_THREADS			4
#define PLAYLIST_TEMP_FILE			"file:///tmp/playlist.pls"
#define STREAMBROWSER_ICON_SMALL	DATA_DIR G_DIR_SEPARATOR_S "images" G_DIR_SEPARATOR_S "streambrowser-16x16.png"
#define STREAMBROWSER_ICON			DATA_DIR G_DIR_SEPARATOR_S "images" G_DIR_SEPARATOR_S "streambrowser-64x64.png"


typedef struct {
	
	gboolean		debug;

} streambrowser_cfg_t;

extern streambrowser_cfg_t	streambrowser_cfg;


void				debug(const char *fmt, ...);
void				failure(const char *fmt, ...);
gboolean			fetch_remote_to_local_file(gchar *remote_url, gchar *local_url);


#endif	// STREAMBROWSER_H