summaryrefslogtreecommitdiff
path: root/test/event-thread.cpp
AgeCommit message (Expand)Author
2021-09-02libcamera: Drop emitter object pointer from signal argumentsLaurent Pinchart
2021-09-02libcamera: Don't use emitter object pointer argument to slotLaurent Pinchart
2021-06-25libcamera/base: Move event_notifier to baseKieran Bingham
2021-06-25libcamera/base: Move extended base functionalityKieran Bingham
2020-11-15libcamera: Move EventDispatcher to internal APILaurent Pinchart
2020-05-16libcamera: Move internal headers to include/libcamera/internal/Laurent Pinchart
2019-08-19test: event-thread: Fix compilation on Chromium OSLaurent Pinchart
2019-08-17test: Simplify tests with parent-child relationshipsLaurent Pinchart
2019-08-17test: Add EventNotifier thread move testLaurent Pinchart
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (C) 2020, Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 *
 * message_handler.cpp - qcam - Log message handling
 */

#pragma once

#include <QtGlobal>

class MessageHandler
{
public:
	MessageHandler(bool verbose);

private:
	static void handleMessage(QtMsgType type,
				  const QMessageLogContext &context,
				  const QString &msg);

	static QtMessageHandler handler_;
	static bool verbose_;
};