libvisual  0.5.0
Namespaces | Typedefs | Enumerations | Functions
VisSongInfo
Collaboration diagram for VisSongInfo:

Namespaces

namespace  LV
 Libvisual namespace.
 

Typedefs

typedef ::LV::SongInfo VisSongInfo
 

Enumerations

enum  VisSongInfoType { VISUAL_SONGINFO_TYPE_NULL, VISUAL_SONGINFO_TYPE_SIMPLE, VISUAL_SONGINFO_TYPE_ADVANCED }
 Used to define the type of song info being used. More...
 

Functions

VisSongInfovisual_songinfo_new (VisSongInfoType type)
 
VisSongInfovisual_songinfo_clone (VisSongInfo *src)
 
void visual_songinfo_free (VisSongInfo *songinfo)
 
void visual_songinfo_copy (VisSongInfo *dest, VisSongInfo const *src)
 
int visual_songinfo_compare (VisSongInfo const *s1, VisSongInfo const *s2)
 
void visual_songinfo_set_type (VisSongInfo *songinfo, VisSongInfoType type)
 
VisSongInfoType visual_songinfo_get_type (VisSongInfo *songinfo)
 
void visual_songinfo_set_length (VisSongInfo *songinfo, int length)
 
int visual_songinfo_get_length (VisSongInfo *songinfo)
 
void visual_songinfo_set_elapsed (VisSongInfo *songinfo, int elapsed)
 
int visual_songinfo_get_elapsed (VisSongInfo *songinfo)
 
void visual_songinfo_set_simple_name (VisSongInfo *songinfo, const char *name)
 
const char * visual_songinfo_get_simple_name (VisSongInfo *songinfo)
 
void visual_songinfo_set_artist (VisSongInfo *songinfo, const char *artist)
 
const char * visual_songinfo_get_artist (VisSongInfo *songinfo)
 
void visual_songinfo_set_album (VisSongInfo *songinfo, const char *album)
 
const char * visual_songinfo_get_album (VisSongInfo *songinfo)
 
void visual_songinfo_set_song (VisSongInfo *songinfo, const char *song)
 
const char * visual_songinfo_get_song (VisSongInfo *songinfo)
 
void visual_songinfo_set_cover (VisSongInfo *songinfo, VisVideo *cover)
 
VisVideovisual_songinfo_get_cover (VisSongInfo *songinfo)
 
void visual_songinfo_mark (VisSongInfo *songinfo)
 
long visual_songinfo_get_age (VisSongInfo *songinfo)
 

Detailed Description

Enumeration Type Documentation

Used to define the type of song info being used.

There are two interfaces to notify libvisual of song information, being a simple and a advanced interface.

Enumerator
VISUAL_SONGINFO_TYPE_NULL 

No song info is given.

VISUAL_SONGINFO_TYPE_SIMPLE 

Simple interface only sets a songname.

VISUAL_SONGINFO_TYPE_ADVANCED 

Advanced interface splits all the stats in separated entries.

Definition at line 41 of file lv_songinfo.h.