Commit 0523881b authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Don't declare ErrorCb when using libvlc 2.2

parent 6f944e28
...@@ -372,6 +372,7 @@ public: ...@@ -372,6 +372,7 @@ public:
return res; return res;
} }
#if LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0)
/** /**
* Called when an error message needs to be displayed. * Called when an error message needs to be displayed.
* *
...@@ -379,7 +380,6 @@ public: ...@@ -379,7 +380,6 @@ public:
* \param text text of the dialog * \param text text of the dialog
*/ */
using ErrorCb = void(std::string &&title, std::string &&text); using ErrorCb = void(std::string &&title, std::string &&text);
#if LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0)
/** /**
*Called when a login dialog needs to be displayed. *Called when a login dialog needs to be displayed.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment