summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples/qtexample.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-13 23:55:57 +0200
committerwm4 <wm4@nowhere>2014-10-13 23:55:57 +0200
commit2ad0be859243b5099767f82d60660e57df2cfbd5 (patch)
tree50c177f457538aeadcaeb050450db65cfdec7f95 /DOCS/client_api_examples/qtexample.h
parent1c5dbdbfc20868ba6a305921f23746878ec8b5af (diff)
downloadmpv-2ad0be859243b5099767f82d60660e57df2cfbd5.tar.bz2
mpv-2ad0be859243b5099767f82d60660e57df2cfbd5.tar.xz
DOCS/client_api_examples: qtexample: stuff
Dump chapters and track list to the log for demo purposes. Compile in debug mode.
Diffstat (limited to 'DOCS/client_api_examples/qtexample.h')
-rw-r--r--DOCS/client_api_examples/qtexample.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/DOCS/client_api_examples/qtexample.h b/DOCS/client_api_examples/qtexample.h
index 8d5ef41143..672a818844 100644
--- a/DOCS/client_api_examples/qtexample.h
+++ b/DOCS/client_api_examples/qtexample.h
@@ -26,6 +26,8 @@ private:
mpv_handle *mpv;
QTextEdit *log;
+ void append_log(const QString &text);
+
void create_player();
void handle_mpv_event(mpv_event *event);
};