Public Member Functions | |
AudioPlayerPrivate (AudioPlayer *playerApp) | |
void | play () |
void | stop () |
void | pause () |
void | printResponse () |
Description: UI wrapper class implementation.
This private class is having the pointer handler to the engine class. The UI class Audio player calls the private class methods, which will call the methods of the engine.
Definition at line 58 of file audioplayer_p.h.
AudioPlayerPrivate::AudioPlayerPrivate | ( | AudioPlayer * | playerApp | ) |
Description: Intermediate wrapper class, UI can talk to the engine using this.
The constructor constructs the pointer data member of engine class
Definition at line 49 of file audioplayer_p.cpp.
void AudioPlayerPrivate::play | ( | ) |
Plays the audio file which is opened.
Definition at line 72 of file audioplayer_p.cpp.
void AudioPlayerPrivate::stop | ( | ) |
Stop the audio file, which is playing.
Definition at line 80 of file audioplayer_p.cpp.
void AudioPlayerPrivate::pause | ( | ) |
Pauses the audio file, which is playing.
Definition at line 88 of file audioplayer_p.cpp.
void AudioPlayerPrivate::printResponse | ( | ) |
Passes the messsage received from the engine to AudioPlayer
Definition at line 63 of file audioplayer_p.cpp.