aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppcheck/cppcheckdiagnosticmanager.h
blob: ba3cfec05177702769a079f80f6805f098d1da4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2018 Sergey Morozov
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

namespace Cppcheck {
namespace Internal {

class Diagnostic;

class CppcheckDiagnosticManager
{
public:
    virtual ~CppcheckDiagnosticManager() = default;
    virtual void add(const Diagnostic &diagnostic) = 0;
};

} // namespace Internal
} // namespace Cppcheck