diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2010-06-18 11:18:13 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2010-06-24 15:58:17 +0200 |
commit | 18178718e2d417bbc8ede98ccebf66a3ff74f4f7 (patch) | |
tree | 0571596684e146467a8eb63aa3c7bf1383b2595d /src/plugins/projectexplorer/vcsannotatetaskhandler.h | |
parent | feaa2b2c097603bee7eab50c2882dfa3b919f6fd (diff) | |
download | qt-creator-18178718e2d417bbc8ede98ccebf66a3ff74f4f7.tar.gz |
Add task handler used to show VCS blame output
* Add task handler to show VCS blame output.
* This taskhandler is not yet used!
Diffstat (limited to 'src/plugins/projectexplorer/vcsannotatetaskhandler.h')
-rw-r--r-- | src/plugins/projectexplorer/vcsannotatetaskhandler.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/vcsannotatetaskhandler.h b/src/plugins/projectexplorer/vcsannotatetaskhandler.h new file mode 100644 index 0000000000..1c34199b4a --- /dev/null +++ b/src/plugins/projectexplorer/vcsannotatetaskhandler.h @@ -0,0 +1,60 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** Commercial Usage +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at http://qt.nokia.com/contact. +** +**************************************************************************/ + +#ifndef PROJECTEXPLORER_VCSANNOTATETASKHANDLER_H +#define PROJECTEXPLORER_VCSANNOTATETASKHANDLER_H + +#include "projectexplorer_export.h" + +#include "itaskhandler.h" + +#include <QtCore/QHash> +#include <QtCore/QString> + +namespace Core { +class IVersionControl; +} + +namespace ProjectExplorer { +namespace Internal { + +class PROJECTEXPLORER_EXPORT VcsAnnotateTaskHandler : public ITaskHandler +{ +public: + VcsAnnotateTaskHandler(); + + bool canHandle(const Task &); + void handle(const Task &task); + QAction *createAction(QObject *parent = 0); +}; + +} // namespace Internal +} // namespace ProjectExplorer + +#endif // PROJECTEXPLORER_VCSANNOTATETASKHANDLER_H |