#include <probeRunner.h>

#include <support/probeComponentThread.h>

namespace lcamera_dev_probe {

void runOnComponentThread(
	const std::function<void(
		const std::shared_ptr<sscl::ComponentThread>&)>& work)
{
	sscl::tests::ProbeComponentThreadHarness harness("lcameraDev-probe");
	harness.runSync(work);
}

} // namespace lcamera_dev_probe
