2
Copyright 2009 David Nolden <david.nolden.kdevelop@art-master.de>
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License version 2 as published by the Free Software Foundation.
8
This library is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
Library General Public License for more details.
13
You should have received a copy of the GNU Library General Public License
14
along with this library; see the file COPYING.LIB. If not, write to
15
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16
Boston, MA 02110-1301, USA.
19
#ifndef CPP_MISSINGINCLUDEASSISTANT_H
20
#define CPP_MISSINGINCLUDEASSISTANT_H
22
#include <interfaces/iassistant.h>
23
#include <language/duchain/indexedstring.h>
29
class AddCustomIncludePathAction : public KDevelop::IAssistantAction {
32
AddCustomIncludePathAction(KDevelop::IndexedString url, QString directive);
33
virtual QString description() const;
34
virtual void execute();
36
KDevelop::IndexedString m_url;
40
class OpenProjectForFileAssistant : public KDevelop::IAssistantAction {
42
OpenProjectForFileAssistant(KUrl);
43
virtual QString description() const;
44
virtual void execute();
49
class MissingIncludePathAssistant : public KDevelop::IAssistant
52
MissingIncludePathAssistant(KDevelop::IndexedString url, QString directive);
53
virtual QString title() const;
54
virtual QList< KDevelop::IAssistantAction::Ptr > actions() const;
56
KDevelop::IndexedString m_url;
62
#endif // CPP_MISSINGINCLUDEASSISTANT_H