File indexing completed on 2024-04-28 04:21:27
0001 // SPDX-FileCopyrightText: 2003-2022 Jesper K. Pedersen <blackie@kde.org> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-or-later 0004 0005 #ifndef VIDEODISPLAY_H 0006 #define VIDEODISPLAY_H 0007 0008 #include "AbstractDisplay.h" 0009 0010 namespace Viewer 0011 { 0012 class VideoDisplay : public Viewer::AbstractDisplay 0013 { 0014 Q_OBJECT 0015 public: 0016 using Viewer::AbstractDisplay::AbstractDisplay; 0017 virtual bool isPaused() const = 0; 0018 virtual void playPause() = 0; 0019 virtual bool isPlaying() const = 0; 0020 virtual QImage screenShoot() = 0; 0021 virtual void relativeSeek(int msec) = 0; 0022 virtual void restart() = 0; 0023 0024 Q_SIGNALS: 0025 void stopped(); 0026 }; 0027 0028 } 0029 #endif // VIDEODISPLAY_H