aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpv/qthelper.hpp
Commit message (Collapse)AuthorAge
* qthelper: fix potential NULL deref in error pathGravatar wm42016-03-22
| | | | Found by clang-tidy.
* client API: qthelper: return NULL as handle if unsetGravatar wm42014-12-30
| | | | | | | | | Creating a plain Handle() should yield a NULL mpv_handle. Also, remove the redundant non-const definition of the conversion operator. At least in this situation it's not needed. Also, add include guards around qthelper.hpp.
* client API: qthelper: add a refcounting wrapper around mpv_handleGravatar wm42014-12-30
| | | | | This is useful to deal with crazy Qt object lifetime issues (the following commit needs it).
* client API: qthelper: add set_option_variant()Gravatar wm42014-10-30
|
* client API: qthelper: remove commented codeGravatar wm42014-10-14
| | | | This is already taken care of by Q_DISABLE_COPY().
* client API: qthelper: fix bugsGravatar wm42014-10-14
| | | | Pretty dumb oversights.
* client API: add qthelper.hppGravatar wm42014-10-13
This provides some helper functions and classes for C++/Qt. As the top of qthelper.hpp says, this is built on top of the client API, and is a mere helper provided for convenience. Maybe this should be a separate library, but on the other hand I don't see much of a point in that. It's also header-only, but C++ people like such things. This makes it easier for us, because we don't need to care about ABI compatibility. The client API doesn't change, but bump it so that those who are using this header can declare a proper dependency.