#include <mmsmusicinterface.h>
Public Member Functions | |
| MMSMusicInterface () | |
| ~MMSMusicInterface () | |
| void | init (string file) |
| void | init (PLAYLIST list, int offset=0) |
| void | stop () |
| void | next () |
| void | prev () |
| void | play () |
| void | pause () |
| bool | hasPlaylist () |
| PLAYLIST | getPlaylist () |
| int | getPlaylistOffset () |
| bool | isPlaying () |
| bool | isPaused () |
| bool | getTimes (int *pos, int *length) |
| void | setRepeat (bool repeat) |
| void | setShuffle (bool shuffle) |
Public Attributes | |
| sigc::signal< void, int > * | onNextSong |
| sigc::signal< void, int > * | onPrevSong |
Private Member Functions | |
| void | setManager (IMMSMusicManager *manager) |
Static Private Attributes | |
| static IMMSMusicManager * | manager = NULL |
Friends | |
| class | MMSMusicManager |
Definition at line 38 of file mmsmusicinterface.h.
| MMSMusicInterface::MMSMusicInterface | ( | ) |
Definition at line 35 of file mmsmusicinterface.cpp.
| MMSMusicInterface::~MMSMusicInterface | ( | ) |
Definition at line 40 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::setManager | ( | IMMSMusicManager * | manager | ) | [private] |
Definition at line 54 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::init | ( | string | file | ) |
Definition at line 58 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::init | ( | PLAYLIST | list, | |
| int | offset = 0 | |||
| ) |
Definition at line 66 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::stop | ( | ) |
Definition at line 82 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::next | ( | ) |
Definition at line 88 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::prev | ( | ) |
Definition at line 93 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::play | ( | ) |
Definition at line 76 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::pause | ( | ) |
Definition at line 99 of file mmsmusicinterface.cpp.
| bool MMSMusicInterface::hasPlaylist | ( | ) |
Definition at line 105 of file mmsmusicinterface.cpp.
| PLAYLIST MMSMusicInterface::getPlaylist | ( | ) |
Definition at line 112 of file mmsmusicinterface.cpp.
| int MMSMusicInterface::getPlaylistOffset | ( | ) |
Definition at line 120 of file mmsmusicinterface.cpp.
| bool MMSMusicInterface::isPlaying | ( | ) |
Definition at line 127 of file mmsmusicinterface.cpp.
| bool MMSMusicInterface::isPaused | ( | ) |
Definition at line 134 of file mmsmusicinterface.cpp.
| bool MMSMusicInterface::getTimes | ( | int * | pos, | |
| int * | length | |||
| ) |
Definition at line 141 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::setRepeat | ( | bool | repeat | ) |
Definition at line 148 of file mmsmusicinterface.cpp.
| void MMSMusicInterface::setShuffle | ( | bool | shuffle | ) |
Definition at line 152 of file mmsmusicinterface.cpp.
friend class MMSMusicManager [friend] |
Definition at line 64 of file mmsmusicinterface.h.
IMMSMusicManager * MMSMusicInterface::manager = NULL [static, private] |
Definition at line 40 of file mmsmusicinterface.h.
| sigc::signal<void, int>* MMSMusicInterface::onNextSong |
Definition at line 56 of file mmsmusicinterface.h.
| sigc::signal<void, int>* MMSMusicInterface::onPrevSong |
Definition at line 57 of file mmsmusicinterface.h.