summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-01-22 16:58:18 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-29 23:49:33 +0300
commit0e39510c05965ab56ebb9134490678ebae85c192 (patch)
tree1e960e4b938c96bb1e62eb74c5845a126e72e02f /include
parent6b98965877a87deffc87388c66f62bb28539aaed (diff)
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/thread.h1
1 files changed, 0 insertions, 1 deletions
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<EventDispatcher> dispatcher);
void dispatchMessages(Message::Type type = Message::Type::None);