2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 Nicolas Arnaud-Cormos
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2010-12-20 10:35:30 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2010-12-20 10:35:30 +01:00
|
|
|
|
|
|
|
|
#include <extensionsystem/iplugin.h>
|
|
|
|
|
|
|
|
|
|
namespace Macros {
|
2013-08-23 14:33:43 +02:00
|
|
|
namespace Internal {
|
2010-12-20 10:35:30 +01:00
|
|
|
|
2020-01-29 04:15:25 +03:00
|
|
|
class MacrosPlugin final : public ExtensionSystem::IPlugin
|
2010-12-20 10:35:30 +01:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
2012-02-21 16:52:28 +01:00
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "Macros.json")
|
2010-12-20 10:35:30 +01:00
|
|
|
|
|
|
|
|
public:
|
2019-03-20 18:51:16 +01:00
|
|
|
~MacrosPlugin() final;
|
2010-12-20 10:35:30 +01:00
|
|
|
|
2019-03-20 18:51:16 +01:00
|
|
|
bool initialize(const QStringList &arguments, QString *errorMessage) final;
|
2010-12-20 10:35:30 +01:00
|
|
|
|
|
|
|
|
private:
|
2019-03-20 18:51:16 +01:00
|
|
|
class MacrosPluginPrivate *d = nullptr;
|
2010-12-20 10:35:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Macros
|