diff options
author | Przemyslaw Gorszkowski <pgorszkowski@gmail.com> | 2016-04-27 10:06:46 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-03-16 09:26:07 +0000 |
commit | 2fcdc2ff0f6b5fd7393be8987ba290e0bb3c66dd (patch) | |
tree | dadecd7788af484ab78abc4d14a0e1e0d8d6c6c5 /src/plugins/silversearcher/silversearcherplugin.h | |
parent | 30a8e05a002b64c96857883d8a51dec2bbcfc373 (diff) |
FindInFiles: Support Silver Searcher
Change-Id: I6f0f55224f228fc1d0496c589cb71ede11d90ea5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/silversearcher/silversearcherplugin.h')
-rw-r--r-- | src/plugins/silversearcher/silversearcherplugin.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/plugins/silversearcher/silversearcherplugin.h b/src/plugins/silversearcher/silversearcherplugin.h new file mode 100644 index 0000000000..5c3df4ea68 --- /dev/null +++ b/src/plugins/silversearcher/silversearcherplugin.h @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2017 Przemyslaw Gorszkowski <pgorszkowski@gmail.com>. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Creator. +** +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 as published by the Free Software +** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +****************************************************************************/ + +#pragma once + +#include <extensionsystem/iplugin.h> + +namespace SilverSearcher { +namespace Internal { + +class SilverSearcherPlugin : public ExtensionSystem::IPlugin +{ + Q_OBJECT + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "SilverSearcher.json") + +public: + bool initialize(const QStringList &arguments, QString *errorString); + void extensionsInitialized(); +#ifdef WITH_TESTS +private: + QList<QObject *> createTestObjects() const override; +#endif +}; + +} // namespace Internal +} // namespace SilverSearcher |