| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/mediaplayer/playerbackend.h`/ |
| 2 | |
| 3 | #ifndef PLAYERBACKEND_H |
| 4 | #define PLAYERBACKEND_Hcxx . . $ `src/librssguard/gui/mediaplayer/playerbackend.h:4:9`! |
| 5 | |
| 6 | #include <QUrl> |
| 7 | #include <QWidget> |
| 8 | |
| 9 | class QVBoxLayoutcxx . . $ QVBoxLayout#; |
| 10 | class Applicationcxx . . $ Application#; |
| 11 | |
| 12 | class PlayerBackendcxx . . $ PlayerBackend# : public QWidgetcxx . . $ QWidget# { |
| 13 | Q_OBJECTcxx . . $ PlayerBackend#qt_staticMetaObjectContent. |
| 14 | |
| 15 | public: |
| 16 | enum class PlaybackStatecxx . . $ PlayerBackend#PlaybackState# { |
| 17 | StoppedStatecxx . . $ PlayerBackend#PlaybackState#StoppedState., |
| 18 | PlayingStatecxx . . $ PlayerBackend#PlaybackState#PlayingState., |
| 19 | PausedStatecxx . . $ PlayerBackend#PlaybackState#PausedState. |
| 20 | }; |
| 21 | |
| 22 | explicit PlayerBackendcxx . . $ PlayerBackend#PlayerBackend(6dcc3d71cdf236c8).(Applicationcxx . . $ Application#* app, QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 23 | |
| 24 | virtual QUrlcxx . . $ QUrl# urlcxx . . $ PlayerBackend#url(36d9834fe7321282).() const = 0; |
| 25 | virtual int positioncxx . . $ PlayerBackend#position(455f465bc33b4cdf).() const = 0; |
| 26 | virtual int durationcxx . . $ PlayerBackend#duration(455f465bc33b4cdf).() const = 0; |
| 27 | |
| 28 | signalscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:43:14`!: |
| 29 | void closedcxx . . $ PlayerBackend#closed(49f6e7a06ebc5aa8).(); |
| 30 | void fullscreenChangedcxx . . $ PlayerBackend#fullscreenChanged(b45ddcbc8423892c).(bool fullscreen); |
| 31 | void mutedChangedcxx . . $ PlayerBackend#mutedChanged(b45ddcbc8423892c).(bool muted); |
| 32 | void speedChangedcxx . . $ PlayerBackend#speedChanged(d4f767463ce0a6b3).(int speed); |
| 33 | void durationChangedcxx . . $ PlayerBackend#durationChanged(d4f767463ce0a6b3).(int duration); |
| 34 | void positionChangedcxx . . $ PlayerBackend#positionChanged(d4f767463ce0a6b3).(int position); |
| 35 | void volumeChangedcxx . . $ PlayerBackend#volumeChanged(d4f767463ce0a6b3).(int volume); |
| 36 | void audioAvailablecxx . . $ PlayerBackend#audioAvailable(b45ddcbc8423892c).(bool available); |
| 37 | void videoAvailablecxx . . $ PlayerBackend#videoAvailable(b45ddcbc8423892c).(bool available); |
| 38 | void seekableChangedcxx . . $ PlayerBackend#seekableChanged(b45ddcbc8423892c).(bool seekable); |
| 39 | |
| 40 | void errorOccurredcxx . . $ PlayerBackend#errorOccurred(3520e46b33348bf6).(const QStringcxx . . $ QString#& error_string); |
| 41 | void statusChangedcxx . . $ PlayerBackend#statusChanged(3520e46b33348bf6).(const QStringcxx . . $ QString#& status); |
| 42 | void playbackStateChangedcxx . . $ PlayerBackend#playbackStateChanged(71c215cf23a22c46).(PlayerBackendcxx . . $ PlayerBackend#::PlaybackStatecxx . . $ PlayerBackend#PlaybackState# state); |
| 43 | |
| 44 | public slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 45 | virtual void playUrlcxx . . $ PlayerBackend#playUrl(37355d2f77053a23).(const QUrlcxx . . $ QUrl#& url) = 0; |
| 46 | virtual void playPausecxx . . $ PlayerBackend#playPause(49f6e7a06ebc5aa8).() = 0; |
| 47 | virtual void pausecxx . . $ PlayerBackend#pause(49f6e7a06ebc5aa8).() = 0; |
| 48 | virtual void stopcxx . . $ PlayerBackend#stop(49f6e7a06ebc5aa8).() = 0; |
| 49 | |
| 50 | virtual void setFullscreencxx . . $ PlayerBackend#setFullscreen(b45ddcbc8423892c).(bool fullscreen) = 0; |
| 51 | virtual void setMutedcxx . . $ PlayerBackend#setMuted(b45ddcbc8423892c).(bool muted) = 0; |
| 52 | virtual void setPlaybackSpeedcxx . . $ PlayerBackend#setPlaybackSpeed(d4f767463ce0a6b3).(int speed) = 0; |
| 53 | virtual void setVolumecxx . . $ PlayerBackend#setVolume(d4f767463ce0a6b3).(int volume) = 0; |
| 54 | virtual void setPositioncxx . . $ PlayerBackend#setPosition(d4f767463ce0a6b3).(int position) = 0; |
| 55 | |
| 56 | protected: |
| 57 | Applicationcxx . . $ Application#* m_appcxx . . $ PlayerBackend#m_app.; |
| 58 | |
| 59 | private: |
| 60 | QVBoxLayoutcxx . . $ QVBoxLayout#* m_mainLayoutcxx . . $ PlayerBackend#m_mainLayout.; |
| 61 | }; |
| 62 | |
| 63 | #endif // PLAYERBACKEND_H |