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>
This commit is contained in:
Laurent Pinchart 2021-01-22 16:58:18 +02:00
parent 6b98965877
commit 0e39510c05
2 changed files with 29 additions and 43 deletions

View file

@ -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);