playlist.h File Reference

#include <gtk/gtk.h>
#include <cybergarage/util/clist.h>
#include <cybergarage/util/cstring.h>

Go to the source code of this file.

Data Structures

struct  _PlaylistEntry

Defines

#define playlist_clear(list)
#define playlist_size(list)   cg_list_size((CgList*) list)
#define playlist_gets(list)   (PlaylistEntry*) cg_list_next((CgList*) list)
#define playlist_add(list, entry)   cg_list_add((CgList*) list, (CgList*) entry)
#define playlist_entry_settrackname(entry, value)   cg_string_setvalue(entry->trackName, value)
#define playlist_entry_gettrackname(entry)   cg_string_getvalue(entry->trackName)
#define playlist_entry_settrackuri(entry, value)   cg_string_setvalue(entry->trackURI, value)
#define playlist_entry_gettrackuri(entry)   cg_string_getvalue(entry->trackURI)
#define playlist_entry_setrendererUDN(entry, value)   cg_string_setvalue(entry->rendererUDN, value)
#define playlist_entry_getrendererUDN(entry, value)   cg_string_getvalue(entry->rendererUDN)
#define playlist_entry_setserverUDN(entry, value)   cg_string_setvalue(entry->serverUDN, value)
#define playlist_entry_getserverUDN(entry, value)   cg_string_getvalue(entry->serverUDN)
#define playlist_entry_next(entry)   (PlaylistEntry*) cg_list_next((CgList*) entry)
#define playlist_entry_prev(entry)   (PlaylistEntry*) cg_list_prev((CgList*) entry)

Typedefs

typedef _PlaylistEntry PlaylistEntry
typedef _PlaylistEntry Playlist

Functions

Playlistplaylist_new ()
void playlist_delete (Playlist *list)
PlaylistEntryplaylist_entry_new ()
void playlist_entry_delete (PlaylistEntry *entry)


Define Documentation

#define playlist_add list,
entry   )     cg_list_add((CgList*) list, (CgList*) entry)
 

#define playlist_clear list   ) 
 

Value:

cg_list_clear((CgList*) list, \
                (CG_LIST_DESTRUCTORFUNC) playlist_entry_delete)

#define playlist_entry_getrendererUDN entry,
value   )     cg_string_getvalue(entry->rendererUDN)
 

#define playlist_entry_getserverUDN entry,
value   )     cg_string_getvalue(entry->serverUDN)
 

#define playlist_entry_gettrackname entry   )     cg_string_getvalue(entry->trackName)
 

#define playlist_entry_gettrackuri entry   )     cg_string_getvalue(entry->trackURI)
 

#define playlist_entry_next entry   )     (PlaylistEntry*) cg_list_next((CgList*) entry)
 

#define playlist_entry_prev entry   )     (PlaylistEntry*) cg_list_prev((CgList*) entry)
 

#define playlist_entry_setrendererUDN entry,
value   )     cg_string_setvalue(entry->rendererUDN, value)
 

#define playlist_entry_setserverUDN entry,
value   )     cg_string_setvalue(entry->serverUDN, value)
 

#define playlist_entry_settrackname entry,
value   )     cg_string_setvalue(entry->trackName, value)
 

#define playlist_entry_settrackuri entry,
value   )     cg_string_setvalue(entry->trackURI, value)
 

#define playlist_gets list   )     (PlaylistEntry*) cg_list_next((CgList*) list)
 

#define playlist_size list   )     cg_list_size((CgList*) list)
 


Typedef Documentation

typedef struct _PlaylistEntry Playlist
 

typedef struct _PlaylistEntry PlaylistEntry
 


Function Documentation

void playlist_delete Playlist list  ) 
 

void playlist_entry_delete PlaylistEntry entry  ) 
 

PlaylistEntry* playlist_entry_new  ) 
 

Playlist* playlist_new  ) 
 


Generated on Mon Aug 14 10:23:34 2006 for CyberLinkC-AV by  doxygen 1.4.6