| - -( dyne // software :: culture :: events :: tazebao :: discussion :: museum \\ freaknet )- - |
#include <playlist.h>
Inherits Linklist.
Inheritance diagram for Playlist:


Playlist class serves the methods to add new files or urls, select them and such. It basically adds some few functionalities on top of the basic ones implemented by the Linklist parent class.
Definition at line 73 of file playlist.h.
Public Member Functions | |
| Playlist () | |
| ~Playlist () | |
| char * | addurl (const char *file) |
| append a new url at the end of the playlist queue | |
| char * | addurl (const char *file, int pos) |
| add a new url at a certain position of the playlist queue | |
| char * | song (int pos) |
| return the url at a certain position of the playlist queue | |
| char * | selection () |
| return the currently selected url in the playlist queue | |
| void | cleanup () |
| cleanup and release all playlist queue | |
|
|
Definition at line 54 of file playlist.cpp. |
|
|
Definition at line 58 of file playlist.cpp. |
|
||||||||||||
|
add a new url at a certain position of the playlist queue
Definition at line 80 of file playlist.cpp. |
|
|
append a new url at the end of the playlist queue
Definition at line 72 of file playlist.cpp. |
|
|
cleanup and release all playlist queue
Definition at line 62 of file playlist.cpp. |
|
|
return the currently selected url in the playlist queue
Definition at line 126 of file playlist.cpp. |
|
|
return the url at a certain position of the playlist queue
Definition at line 117 of file playlist.cpp. |
|
|
|
|
| Copyleft 2000 - 2008 dyne.org foundation and respective authors. Verbatim copying and distribution is permitted in any medium, provided this notice is preserved. Send inquiries & questions to dyne.org's hackers. |
|