File indexing completed on 2024-12-08 10:52:34
0001 /* 0002 SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0003 SPDX-FileCopyrightText: 2021 Harald Sitter <sitter@kde.org> 0004 */ 0005 0006 #pragma once 0007 0008 #include <QtPlugin> 0009 0010 class Coredump; 0011 0012 class DumpTruckInterface 0013 { 0014 public: 0015 DumpTruckInterface() = default; 0016 virtual ~DumpTruckInterface() = default; 0017 virtual bool handle(const Coredump &dump) = 0; 0018 0019 private: 0020 Q_DISABLE_COPY_MOVE(DumpTruckInterface) 0021 }; 0022 0023 #define DumpTruckInterface_IID "org.kde.drkonqi.DumpTruckInterface/1.0" // NOLINT 0024 Q_DECLARE_INTERFACE(DumpTruckInterface, DumpTruckInterface_IID) // NOLINT