From 0e39510c05965ab56ebb9134490678ebae85c192 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 22 Jan 2021 16:58:18 +0200 Subject: libcamera: thread: Remove the unused setEventDispatcher() function Custom event dispatchers for threads was an API meant to provide a way to integrate libcamera in the application's event loop. This isn't used anymore, as libcamera now creates internal threads. Drop the unused Thread::setEventDispatcher() function, and update the documentation accordingly. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- include/libcamera/internal/thread.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/libcamera/internal/thread.h b/include/libcamera/internal/thread.h index f6367a8f..25d0308d 100644 --- a/include/libcamera/internal/thread.h +++ b/include/libcamera/internal/thread.h @@ -46,7 +46,6 @@ public: static pid_t currentId(); EventDispatcher *eventDispatcher(); - void setEventDispatcher(std::unique_ptr dispatcher); void dispatchMessages(Message::Type type = Message::Type::None); -- cgit v1.2.1