First Commit

This commit is contained in:
2025-11-18 14:18:26 -07:00
parent 33eb6e3707
commit 27277ec342
6106 changed files with 3571167 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
Author: Sérgio Martins <sergio.martins@kdab.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
Contact KDAB at <info@kdab.com> for commercial licensing options.
*/
#pragma once
#include "docks_export.h"
#include <spdlog/spdlog.h>
#include <spdlog/sinks/stdout_color_sinks.h>
/// An spdlog logger that terminates the application if an error is printed
/// This is only used by the tests. KDDW should be error free.
namespace KDDockWidgets {
class DOCKS_EXPORT FatalLogger : public spdlog::sinks::stdout_color_sink_mt
{
public:
~FatalLogger() override;
static std::shared_ptr<spdlog::logger> create();
void log(const spdlog::details::log_msg &msg) override;
};
}