Mercurial > audlegacy-plugins
annotate src/streambrowser/bookmarks.h @ 3203:f5456241bff9 default tip
changed include path from audacious to audlegacy.
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Tue, 10 Nov 2009 05:19:25 +0900 |
| parents | 113454baecf8 |
| children |
| rev | line source |
|---|---|
| 2891 | 1 /* |
| 2 * Audacious Streambrowser Plugin | |
| 3 * | |
| 4 * Copyright (c) 2008 Calin Crisan <ccrisan@gmail.com> | |
| 5 * | |
| 6 * This program is free software; you can redistribute it and/or modify | |
| 7 * it under the terms of the GNU General Public License as published by | |
| 8 * the Free Software Foundation; under version 3 of the License. | |
| 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, see <http://www.gnu.org/licenses>. | |
| 17 */ | |
| 18 | |
| 19 | |
| 20 #ifndef BOOKMARKS_H | |
| 21 #define BOOKMARKS_H | |
| 22 | |
| 23 #include "streambrowser.h" | |
| 24 #include "streamdir.h" | |
| 25 | |
| 26 #define BOOKMARKS_NAME "Bookmarks" | |
| 27 #define BOOKMARKS_ICON DATA_DIR G_DIR_SEPARATOR_S "images" G_DIR_SEPARATOR_S "bookmarks.png" | |
| 28 | |
| 29 | |
| 30 typedef struct { | |
| 31 | |
| 32 gchar streamdir_name[DEF_STRING_LEN]; | |
| 33 | |
| 34 gchar name[DEF_STRING_LEN]; | |
| 35 gchar playlist_url[DEF_STRING_LEN]; | |
| 36 gchar url[DEF_STRING_LEN]; | |
| 37 | |
| 38 } bookmark_t; | |
| 39 | |
| 40 | |
| 41 gboolean bookmarks_streaminfo_fetch(category_t *category, streaminfo_t *streaminfo); | |
| 42 gboolean bookmarks_category_fetch(streamdir_t *streamdir, category_t *category); | |
|
2913
113454baecf8
lots of changes: most important - bookmarks code almost finished, fixed bold-text gui bug, and others...
Calin Crisan ccrisan@gmail.com
parents:
2891
diff
changeset
|
43 streamdir_t* bookmarks_streamdir_fetch(bookmark_t **p_bookmarks, int *p_bookmarks_count); |
|
113454baecf8
lots of changes: most important - bookmarks code almost finished, fixed bold-text gui bug, and others...
Calin Crisan ccrisan@gmail.com
parents:
2891
diff
changeset
|
44 |
|
113454baecf8
lots of changes: most important - bookmarks code almost finished, fixed bold-text gui bug, and others...
Calin Crisan ccrisan@gmail.com
parents:
2891
diff
changeset
|
45 void bookmark_add(bookmark_t *bookmark); |
|
113454baecf8
lots of changes: most important - bookmarks code almost finished, fixed bold-text gui bug, and others...
Calin Crisan ccrisan@gmail.com
parents:
2891
diff
changeset
|
46 void bookmark_remove(gchar *name); |
| 2891 | 47 |
| 48 | |
| 49 #endif // BOOKMARKS_H | |
| 50 |
