diff options
-rw-r--r-- | avmedia/source/vlc/wrapper/EventHandler.hxx | 5 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/EventManager.hxx | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/avmedia/source/vlc/wrapper/EventHandler.hxx b/avmedia/source/vlc/wrapper/EventHandler.hxx index 37272c2ea2ad..536d80b2b90b 100644 --- a/avmedia/source/vlc/wrapper/EventHandler.hxx +++ b/avmedia/source/vlc/wrapper/EventHandler.hxx @@ -9,7 +9,8 @@ #ifndef INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTHANDLER_HXX #define INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTHANDLER_HXX -#include <boost/function.hpp> + +#include <functional> #include <boost/noncopyable.hpp> #include <salhelper/thread.hxx> #include "ThreadsafeQueue.hxx" @@ -30,7 +31,7 @@ namespace wrapper virtual void SAL_CALL run() SAL_OVERRIDE; public: - typedef boost::function< void() > TCallback; + typedef std::function< void() > TCallback; ThreadsafeQueue< TCallback > mCallbackQueue; }; } diff --git a/avmedia/source/vlc/wrapper/EventManager.hxx b/avmedia/source/vlc/wrapper/EventManager.hxx index 8ee2eb6fe17f..624b798daf1e 100644 --- a/avmedia/source/vlc/wrapper/EventManager.hxx +++ b/avmedia/source/vlc/wrapper/EventManager.hxx @@ -10,7 +10,7 @@ #ifndef INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTMANAGER_HXX #define INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTMANAGER_HXX -#include <boost/function.hpp> +#include <functional> #include <boost/noncopyable.hpp> #include "Player.hxx" @@ -29,7 +29,7 @@ namespace wrapper public: static bool LoadSymbols(); - typedef boost::function<void()> Callback; + typedef std::function<void()> Callback; EventManager( Player& player, EventHandler& eh ); @@ -38,7 +38,7 @@ namespace wrapper private: EventHandler& mEventHandler; - typedef boost::function< void() > TCallback; + typedef std::function< void() > TCallback; libvlc_event_manager_t *mManager; TCallback mOnPaused; TCallback mOnEndReached; |