| 123456789101112131415161718192021222324252627 |
- #ifndef AVPLAYER2_START_PLAY_THREAD_H
- #define AVPLAYER2_START_PLAY_THREAD_H
- #pragma once
- #include "ThreadBase.h"
- #include <atomic>
- 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
|