#ifndef AVPLAYER2_START_PLAY_THREAD_H #define AVPLAYER2_START_PLAY_THREAD_H #pragma once #include "ThreadBase.h" #include class PlayerController; class StartPlayThread : public ThreadBase { public: StartPlayThread(const StartPlayThread&) = delete; StartPlayThread& operator=(const StartPlayThread&) = delete; StartPlayThread(StartPlayThread&&) = delete; StartPlayThread& operator=(StartPlayThread&&) = delete; explicit StartPlayThread(PlayerController *playerController); ~StartPlayThread(); void stop() override; protected: void run() override; PlayerController *m_playerController; }; #endif // AVPLAYER2_START_PLAY_THREAD_H