mirror of
https://github.com/sweidac/kidsbox.git
synced 2025-07-27 19:31:54 +02:00
18 lines
253 B
C++
18 lines
253 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class AudioPlayer {
|
|
void* playerHandle;
|
|
std::string lastUri;
|
|
|
|
public:
|
|
AudioPlayer();
|
|
|
|
void play(std::string uri, int position);
|
|
void pause();
|
|
int getPosition();
|
|
|
|
private:
|
|
bool isLastUri(std::string uri);
|
|
}; |