| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/mediaplayer/libmpv/libmpvbackend.h`/ |
| 2 | |
| 3 | #ifndef LIBMPVBACKEND_H |
| 4 | #define LIBMPVBACKEND_Hcxx . . $ `src/librssguard/gui/mediaplayer/libmpv/libmpvbackend.h:4:9`! |
| 5 | |
| 6 | #include "gui/mediaplayer/playerbackend.h"cxx . . $ `<file>/src/librssguard/gui/mediaplayer/playerbackend.h`/ |
| 7 | |
| 8 | #include <mpv/client.h> |
| 9 | |
| 10 | class LibMpvWidgetcxx . . $ LibMpvWidget#; |
| 11 | |
| 12 | class LibMpvBackendcxx . . $ LibMpvBackend# : public PlayerBackendcxx . . $ PlayerBackend# { |
| 13 | Q_OBJECTcxx . . $ LibMpvBackend#QPrivateSignal# |
| 14 | |
| 15 | public: |
| 16 | explicit LibMpvBackendcxx . . $ LibMpvBackend#LibMpvBackend(6dcc3d71cdf236c8).(Applicationcxx . . $ Application#* app, QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 17 | virtual ~cxx . . $ LibMpvBackend#`~LibMpvBackend`(ced63f7c635d850d).LibMpvBackendcxx . . $ LibMpvBackend#(); |
| 18 | |
| 19 | public: |
| 20 | virtual bool eventFiltercxx . . $ LibMpvBackend#eventFilter(978aa4af1d030efa).(QObjectcxx . . $ QObject#* watched, QEventcxx . . $ QEvent#* event); |
| 21 | |
| 22 | virtual QUrlcxx . . $ QUrl# urlcxx . . $ LibMpvBackend#url(36d9834fe7321282).() const; |
| 23 | virtual int positioncxx . . $ LibMpvBackend#position(455f465bc33b4cdf).() const; |
| 24 | virtual int durationcxx . . $ LibMpvBackend#duration(455f465bc33b4cdf).() const; |
| 25 | |
| 26 | static void installCustomConfigcxx . . $ LibMpvBackend#installCustomConfig(3520e46b33348bf6).(const QStringcxx . . $ QString#& directory); |
| 27 | |
| 28 | public slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 29 | virtual void setMutedcxx . . $ LibMpvBackend#setMuted(b45ddcbc8423892c).(bool muted); |
| 30 | virtual void playUrlcxx . . $ LibMpvBackend#playUrl(37355d2f77053a23).(const QUrlcxx . . $ QUrl#& url); |
| 31 | virtual void playPausecxx . . $ LibMpvBackend#playPause(49f6e7a06ebc5aa8).(); |
| 32 | virtual void pausecxx . . $ LibMpvBackend#pause(49f6e7a06ebc5aa8).(); |
| 33 | virtual void stopcxx . . $ LibMpvBackend#stop(49f6e7a06ebc5aa8).(); |
| 34 | virtual void setPlaybackSpeedcxx . . $ LibMpvBackend#setPlaybackSpeed(d4f767463ce0a6b3).(int speed); |
| 35 | virtual void setVolumecxx . . $ LibMpvBackend#setVolume(d4f767463ce0a6b3).(int volume); |
| 36 | virtual void setPositioncxx . . $ LibMpvBackend#setPosition(d4f767463ce0a6b3).(int position); |
| 37 | virtual void setFullscreencxx . . $ LibMpvBackend#setFullscreen(b45ddcbc8423892c).(bool fullscreen); |
| 38 | |
| 39 | private slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 40 | void onMpvEventscxx . . $ LibMpvBackend#onMpvEvents(49f6e7a06ebc5aa8).(); |
| 41 | |
| 42 | private: |
| 43 | void processEndFilecxx . . $ LibMpvBackend#processEndFile(573e80a994163dfe).(mpv_event_end_file* end_file); |
| 44 | void processTrackscxx . . $ LibMpvBackend#processTracks(bd3d01ac66d986b4).(const QJsonDocumentcxx . . $ QJsonDocument#& json); |
| 45 | void processPropertyChangecxx . . $ LibMpvBackend#processPropertyChange(8be7d8bcb3b9e5e1).(mpv_event_property* prop, uint64_tcxx . . $ uint64_t# property_code); |
| 46 | void processLogMessagecxx . . $ LibMpvBackend#processLogMessage(556ac0a923de6713).(mpv_event_log_message* msg); |
| 47 | void appendLogcxx . . $ LibMpvBackend#appendLog(3520e46b33348bf6).(const QStringcxx . . $ QString#& text); |
| 48 | void createPlayercxx . . $ LibMpvBackend#createPlayer(49f6e7a06ebc5aa8).(); |
| 49 | void handleMpvEventcxx . . $ LibMpvBackend#handleMpvEvent(b9dce96345afb4de).(mpv_event* event); |
| 50 | |
| 51 | const char* mpvDecodeStringcxx . . $ LibMpvBackend#mpvDecodeString(a13b10ad2ba26221).(void* data) const; |
| 52 | bool mpvDecodeBoolcxx . . $ LibMpvBackend#mpvDecodeBool(e995ef3b941ef3c3).(void* data) const; |
| 53 | int mpvDecodeIntcxx . . $ LibMpvBackend#mpvDecodeInt(e7407983581ad42b).(void* data) const; |
| 54 | double mpvDecodeDoublecxx . . $ LibMpvBackend#mpvDecodeDouble(1e28b3af6ab831f7).(void* data) const; |
| 55 | QStringcxx . . $ QString# mpvEncodeKeyboardButtoncxx . . $ LibMpvBackend#mpvEncodeKeyboardButton(3f3c3d0e9c0eb37f).(int btn) const; |
| 56 | QStringcxx . . $ QString# errorToStringcxx . . $ LibMpvBackend#errorToString(f73f89f8794ac07e).(mpv_error error) const; |
| 57 | |
| 58 | void destroyHandlecxx . . $ LibMpvBackend#destroyHandle(49f6e7a06ebc5aa8).(); |
| 59 | void loadSettingscxx . . $ LibMpvBackend#loadSettings(49f6e7a06ebc5aa8).(); |
| 60 | |
| 61 | private: |
| 62 | QStringcxx . . $ QString# m_customConfigFoldercxx . . $ LibMpvBackend#m_customConfigFolder.; |
| 63 | LibMpvWidgetcxx . . $ LibMpvWidget#* m_mpvContainercxx . . $ LibMpvBackend#m_mpvContainer.; |
| 64 | mpv_handle* m_mpvHandlecxx . . $ LibMpvBackend#m_mpvHandle.; |
| 65 | QUrlcxx . . $ QUrl# m_urlcxx . . $ LibMpvBackend#m_url.; |
| 66 | }; |
| 67 | |
| 68 | #endif // LIBMPVBACKEND_H |