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

#pragma once

namespace Cppcheck::Internal {

class Diagnostic;

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

} // Cppcheck::Internal