// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once #include "review_capture.h" #include "reader_endpoint.h" #include #include class ReviewService { public: ReviewService() = default; ~ReviewService(); bool start(GDBusConnection *, ReviewIdentityStore &, const ReaderEndpoint &); void focus_changed(const ReviewFocus &); void stop(); private: struct State; std::shared_ptr state_; HANDLE dispatcher_ = nullptr; HANDLE worker_ = nullptr; };