31 lines
686 B
C++
31 lines
686 B
C++
#ifndef RM_FRAME_VIDEO_SUB_H
|
|
#define RM_FRAME_VIDEO_SUB_H
|
|
|
|
#include "../rm_include.h"
|
|
#include "../core/rm_player_base.h"
|
|
#include "rm_frame_video_base.h"
|
|
|
|
class RMVideoItem;
|
|
class RMButton;
|
|
class RMFrameVideoSub : public RMFrameVideoBase
|
|
{
|
|
Q_OBJECT
|
|
#if (RM_TESTING)
|
|
friend class RMTestProcess;
|
|
#endif
|
|
|
|
public:
|
|
explicit RMFrameVideoSub(QWidget *parent = nullptr);
|
|
private:
|
|
|
|
#if !((DUAL_CH_FILE && !DUAL_CH_1CH_EXIST) || SINGLE_CH_VIEWER)
|
|
bool _temporarySwap; // 전후방 토글 상태에서 1CH 파일이 로딩될 경우 임시 토글
|
|
#endif
|
|
|
|
protected:
|
|
public slots:
|
|
void onPlayEvent(PLAY_EVENT event, RMVideoItem* item);
|
|
};
|
|
|
|
#endif // RM_FRAME_VIDEO_SUB_H
|