media: Conceal PlayerWorker constructor/destructor
PlayerWorker is a singleton.
So its constructor/destructor are private function
@@ -27,14 +27,14 @@ namespace media {
class PlayerWorker : public MediaWorker
{
public:
- PlayerWorker();
- virtual ~PlayerWorker();
static PlayerWorker &getWorker();
void setPlayer(std::shared_ptr<MediaPlayerImpl>);
std::shared_ptr<MediaPlayerImpl> getPlayer();
private:
+ PlayerWorker();
+ virtual ~PlayerWorker();
bool processLoop() override;
private:
