summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples/qtexample.h
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/client_api_examples/qtexample.h')
-rw-r--r--DOCS/client_api_examples/qtexample.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/client_api_examples/qtexample.h b/DOCS/client_api_examples/qtexample.h
index b5b6fe7fb2..8d5ef41143 100644
--- a/DOCS/client_api_examples/qtexample.h
+++ b/DOCS/client_api_examples/qtexample.h
@@ -5,6 +5,8 @@
#include <mpv/client.h>
+class QTextEdit;
+
class MainWindow : public QMainWindow
{
Q_OBJECT
@@ -22,6 +24,7 @@ private slots:
private:
QWidget *mpv_container;
mpv_handle *mpv;
+ QTextEdit *log;
void create_player();
void handle_mpv_event(mpv_event *event);