| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/mediaplayer/libmpv/libmpvwidget.h`/ |
| 2 | |
| 3 | #ifndef LIBMPVWIDGET_H |
| 4 | #define LIBMPVWIDGET_Hcxx . . $ `src/librssguard/gui/mediaplayer/libmpv/libmpvwidget.h:4:9`! |
| 5 | |
| 6 | #if defined(MEDIAPLAYER_LIBMPV_OPENGLcxx . . $ `<built-in>:499:9`!) |
| 7 | #include <mpv/render_gl.h> |
| 8 | |
| 9 | #include <QOpenGLWidget> |
| 10 | |
| 11 | #define BASE_WIDGETcxx . . $ `src/librssguard/gui/mediaplayer/libmpv/libmpvwidget.h:11:9`! QOpenGLWidget |
| 12 | #else |
| 13 | #include <QWidget> |
| 14 | #define BASE_WIDGET QWidget |
| 15 | #endif |
| 16 | |
| 17 | struct mpv_handlecxx . . $ mpv_handle#; |
| 18 | |
| 19 | class LibMpvWidgetcxx . . $ LibMpvWidget# : public BASE_WIDGETcxx . . $ `src/librssguard/gui/mediaplayer/libmpv/libmpvwidget.h:11:9`! { |
| 20 | Q_OBJECTcxx . . $ LibMpvWidget#QPrivateSignal# |
| 21 | |
| 22 | friend class LibMpvBackendcxx . . $ LibMpvBackend#; |
| 23 | |
| 24 | public: |
| 25 | explicit LibMpvWidgetcxx . . $ LibMpvWidget#LibMpvWidget(ebd8094c89bd912f).(mpv_handle* mpv_handle, QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 26 | virtual ~cxx . . $ LibMpvWidget#`~LibMpvWidget`(ced63f7c635d850d).LibMpvWidgetcxx . . $ LibMpvWidget#(); |
| 27 | |
| 28 | void bindcxx . . $ LibMpvWidget#bind(49f6e7a06ebc5aa8).(); |
| 29 | |
| 30 | signalscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:43:14`!: |
| 31 | void launchMpvEventscxx . . $ LibMpvWidget#launchMpvEvents(49f6e7a06ebc5aa8).(); |
| 32 | |
| 33 | private: |
| 34 | void destroyHandlecxx . . $ LibMpvWidget#destroyHandle(49f6e7a06ebc5aa8).(); |
| 35 | |
| 36 | mpv_handle* m_mpvHandlecxx . . $ LibMpvWidget#m_mpvHandle.; |
| 37 | |
| 38 | private slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 39 | #if defined(MEDIAPLAYER_LIBMPV_OPENGLcxx . . $ `<built-in>:499:9`!) |
| 40 | void maybeUpdatecxx . . $ LibMpvWidget#maybeUpdate(49f6e7a06ebc5aa8).(); |
| 41 | |
| 42 | protected: |
| 43 | virtual void initializeGLcxx . . $ LibMpvWidget#initializeGL(49f6e7a06ebc5aa8).(); |
| 44 | virtual void paintGLcxx . . $ LibMpvWidget#paintGL(49f6e7a06ebc5aa8).(); |
| 45 | |
| 46 | private: |
| 47 | static void onMpvRedrawcxx . . $ LibMpvWidget#onMpvRedraw(5d22bdacc48458e8).(void* ctx); |
| 48 | |
| 49 | mpv_render_context* m_mpvGLcxx . . $ LibMpvWidget#m_mpvGL.; |
| 50 | #endif |
| 51 | }; |
| 52 | |
| 53 | #endif // LIBMPVWIDGET_H |