summaryrefslogtreecommitdiff
path: root/include/linux/README
blob: 4e314b9820ce62896d908b5dc92f110bd9f631de (plain)
1
2
3
4
# SPDX-License-Identifier: CC0-1.0

Files in this directory are imported from v5.16-rc7 of the Linux kernel. Do not
modify them manually.
href='#n18'>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_;
};