summaryrefslogtreecommitdiff
path: root/src/plugins/baremetal/baremetalplugin.h
blob: cbad40df5c615b2290c5e9b29220b7338cbdeb67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (C) 2016 Tim Sander <tim@krieglstein.org>
// Copyright (C) 2016 Denis Shienkov <denis.shienkov@gmail.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <extensionsystem/iplugin.h>

namespace BareMetal::Internal {

class BareMetalPlugin final : public ExtensionSystem::IPlugin
{
   Q_OBJECT
   Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "BareMetal.json")

   ~BareMetalPlugin() final;

   void initialize() final;
   void extensionsInitialized() final;

   class BareMetalPluginPrivate *d = nullptr;

#ifdef WITH_TESTS
private slots:
   void testIarOutputParsers_data();
   void testIarOutputParsers();
   void testKeilOutputParsers_data();
   void testKeilOutputParsers();
   void testSdccOutputParsers_data();
   void testSdccOutputParsers();
#endif // WITH_TESTS
};

} // BareMetal::Internal