diff src/streambrowser/bookmarks.h @ 2913:113454baecf8

lots of changes: most important - bookmarks code almost finished, fixed bold-text gui bug, and others...
author Calin Crisan ccrisan@gmail.com
date Fri, 15 Aug 2008 16:00:43 +0200
parents c27da2c06805
children
line wrap: on
line diff
--- a/src/streambrowser/bookmarks.h	Tue Aug 12 23:49:32 2008 +0200
+++ b/src/streambrowser/bookmarks.h	Fri Aug 15 16:00:43 2008 +0200
@@ -30,7 +30,6 @@
 typedef struct {
 	
 	gchar			streamdir_name[DEF_STRING_LEN];
-	gchar			category_name[DEF_STRING_LEN];
 	
 	gchar			name[DEF_STRING_LEN];
 	gchar			playlist_url[DEF_STRING_LEN];
@@ -41,7 +40,10 @@
 
 gboolean							bookmarks_streaminfo_fetch(category_t *category, streaminfo_t *streaminfo);
 gboolean							bookmarks_category_fetch(streamdir_t *streamdir, category_t *category);
-streamdir_t*						bookmarks_streamdir_fetch(bookmark_t *bms, int count);
+streamdir_t*						bookmarks_streamdir_fetch(bookmark_t **p_bookmarks, int *p_bookmarks_count);
+
+void								bookmark_add(bookmark_t *bookmark);
+void								bookmark_remove(gchar *name);
 
 
 #endif	// BOOKMARKS_H