Mercurial > audlegacy-plugins
comparison src/streambrowser/streambrowser.h @ 2891:c27da2c06805
initial code for bookmarks
| author | Calin Crisan ccrisan@gmail.com |
|---|---|
| date | Tue, 12 Aug 2008 23:49:32 +0200 |
| parents | cc6f02424609 |
| children | 113454baecf8 |
comparison
equal
deleted
inserted
replaced
| 2890:5e97b55f87cf | 2891:c27da2c06805 |
|---|---|
| 18 | 18 |
| 19 | 19 |
| 20 #ifndef STREAMBROWSER_H | 20 #ifndef STREAMBROWSER_H |
| 21 #define STREAMBROWSER_H | 21 #define STREAMBROWSER_H |
| 22 | 22 |
| 23 #include <glib.h> | |
| 24 | |
| 25 #include <config.h> | |
| 26 #include <audacious/i18n.h> | |
| 27 | |
| 28 #define DEF_STRING_LEN 1024 | 23 #define DEF_STRING_LEN 1024 |
| 29 #define DEF_BUFFER_SIZE 512 | 24 #define DEF_BUFFER_SIZE 512 |
| 30 #define MAX_UPDATE_THREADS 4 | 25 #define MAX_UPDATE_THREADS 4 |
| 31 #define PLAYLIST_TEMP_FILE "file:///tmp/playlist.pls" | 26 #define PLAYLIST_TEMP_FILE "file:///tmp/playlist.pls" |
| 32 #define STREAMBROWSER_ICON_SMALL DATA_DIR G_DIR_SEPARATOR_S "images" G_DIR_SEPARATOR_S "streambrowser-16x16.png" | 27 #define STREAMBROWSER_ICON_SMALL DATA_DIR G_DIR_SEPARATOR_S "images" G_DIR_SEPARATOR_S "streambrowser-16x16.png" |
| 33 #define STREAMBROWSER_ICON DATA_DIR G_DIR_SEPARATOR_S "images" G_DIR_SEPARATOR_S "streambrowser-64x64.png" | 28 #define STREAMBROWSER_ICON DATA_DIR G_DIR_SEPARATOR_S "images" G_DIR_SEPARATOR_S "streambrowser-64x64.png" |
| 34 | 29 |
| 35 | 30 |
| 36 typedef struct { | 31 #include <glib.h> |
| 37 | |
| 38 gboolean debug; | |
| 39 | 32 |
| 40 } streambrowser_cfg_t; | 33 #include <config.h> |
| 41 | 34 #include <audacious/i18n.h> |
| 42 extern streambrowser_cfg_t streambrowser_cfg; | |
| 43 | 35 |
| 44 | 36 |
| 45 void debug(const char *fmt, ...); | 37 void debug(const char *fmt, ...); |
| 46 void failure(const char *fmt, ...); | 38 void failure(const char *fmt, ...); |
| 47 gboolean fetch_remote_to_local_file(gchar *remote_url, gchar *local_url); | 39 gboolean fetch_remote_to_local_file(gchar *remote_url, gchar *local_url); |
