2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2009-07-15 12:28:40 +02:00
|
|
|
|
2016-02-04 13:07:35 +01:00
|
|
|
#pragma once
|
2009-07-15 12:28:40 +02:00
|
|
|
|
2020-01-29 09:10:37 +01:00
|
|
|
#include <extensionsystem/iplugin.h>
|
2009-12-08 14:26:41 +01:00
|
|
|
|
2012-01-07 16:55:09 +01:00
|
|
|
namespace Cvs {
|
2009-07-15 12:28:40 +02:00
|
|
|
namespace Internal {
|
2012-01-07 16:55:09 +01:00
|
|
|
|
2020-01-23 17:22:05 +01:00
|
|
|
class CvsPlugin final : public ExtensionSystem::IPlugin
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "CVS.json")
|
2009-07-15 12:28:40 +02:00
|
|
|
|
2020-01-23 17:22:05 +01:00
|
|
|
~CvsPlugin() final;
|
|
|
|
|
|
|
|
|
|
bool initialize(const QStringList &arguments, QString *errorMessage) final;
|
|
|
|
|
void extensionsInitialized() final;
|
|
|
|
|
|
|
|
|
|
#ifdef WITH_TESTS
|
|
|
|
|
private slots:
|
|
|
|
|
void testDiffFileResolving_data();
|
|
|
|
|
void testDiffFileResolving();
|
|
|
|
|
void testLogResolving();
|
|
|
|
|
#endif
|
2009-07-15 12:28:40 +02:00
|
|
|
};
|
|
|
|
|
|
2012-01-07 16:55:09 +01:00
|
|
|
} // namespace Cvs
|
2009-07-15 12:28:40 +02:00
|
|
|
} // namespace Internal
|