Clean exported headers of the CppTools plugin.

Change-Id: I0144ac33e88980c431c54a6d69bbde28da4b1967
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Friedemann Kleint
2015-03-05 08:22:48 +01:00
parent 5eedf273be
commit fb80206f3c
46 changed files with 96 additions and 35 deletions

View File

@@ -30,6 +30,7 @@
#include "cppelementevaluator.h"
#include <cpptools/cppmodelmanager.h>
#include <cpptools/cpptoolsreuse.h>
#include <cpptools/typehierarchybuilder.h>

View File

@@ -35,6 +35,8 @@
#include <texteditor/texteditor.h>
#include <texteditor/helpitem.h>
#include <cplusplus/CppDocument.h>
#include <QString>
#include <QStringList>
#include <QSharedPointer>

View File

@@ -43,6 +43,7 @@
#include <cplusplus/ASTPath.h>
#include <cplusplus/CppRewriter.h>
#include <cplusplus/Overview.h>
#include <cplusplus/TypeOfExpression.h>
#include <utils/proxyaction.h>

View File

@@ -30,6 +30,8 @@
#include "cppeditortestcase.h"
#include <cpptools/cppprojects.h>
#include <QByteArray>
#include <QList>
#include <QSharedPointer>

View File

@@ -33,6 +33,7 @@
#include "cppeditorconstants.h"
#include "cppeditor.h"
#include <cpptools/cppmodelmanager.h>
#include <texteditor/textdocument.h>
#include <cplusplus/ASTPath.h>

View File

@@ -29,6 +29,7 @@
****************************************************************************/
#include "baseeditordocumentparser.h"
#include "baseeditordocumentprocessor.h"
#include "editordocumenthandle.h"

View File

@@ -40,6 +40,7 @@
#include "searchsymbols.h"
#include <coreplugin/icore.h>
#include <coreplugin/find/searchresultwindow.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <cplusplus/LookupContext.h>
@@ -47,6 +48,7 @@
#include <utils/runextensions.h>
#include <QCoreApplication>
#include <QDir>
#include <QElapsedTimer>
using namespace CppTools;

View File

@@ -32,11 +32,11 @@
#define CPPCLASSESFILTER_H
#include "cpptools_global.h"
#include "cpplocatordata.h"
#include "cpplocatorfilter.h"
namespace CppTools {
class CppLocatorData;
// TODO: un-export this
class CPPTOOLS_EXPORT CppClassesFilter : public Internal::CppLocatorFilter

View File

@@ -36,7 +36,6 @@
#include <texteditor/tabsettings.h>
#include <cplusplus/Token.h>
#include <cplusplus/SimpleLexer.h>
#include <QStack>

View File

@@ -29,6 +29,7 @@
****************************************************************************/
#include "cppcodemodelinspectordumper.h"
#include "cppmodelmanager.h"
#include "cppworkingcopy.h"

View File

@@ -33,13 +33,15 @@
#include "cpptools_global.h"
#include <cpptools/cppmodelmanager.h>
#include <cpptools/cppprojects.h>
#include <cplusplus/CppDocument.h>
#include <QFile>
#include <QTextStream>
namespace CppTools {
class WorkingCopy;
namespace CppCodeModelInspector {
struct CPPTOOLS_EXPORT Utils

View File

@@ -38,6 +38,8 @@
#include <projectexplorer/project.h>
#include <projectexplorer/projecttree.h>
#include <cplusplus/Overview.h>
#include <utils/qtcassert.h>
#include <utils/settingsutils.h>

View File

@@ -33,14 +33,14 @@
#include "cpptools_global.h"
#include <cplusplus/Overview.h>
#include <QVariant>
#include <QVariantMap>
QT_BEGIN_NAMESPACE
class QSettings;
QT_END_NAMESPACE
namespace CPlusPlus { class Overview; }
namespace CppTools {
class CPPTOOLS_EXPORT CppCodeStyleSettings

View File

@@ -45,6 +45,7 @@
#include <texteditor/snippets/isnippetprovider.h>
#include <texteditor/texteditorsettings.h>
#include <cplusplus/Overview.h>
#include <cplusplus/pp.h>
#include <extensionsystem/pluginmanager.h>

View File

@@ -59,6 +59,7 @@
#include <cplusplus/Overview.h>
#include <cplusplus/ResolveExpression.h>
#include <QDirIterator>
#include <QLatin1String>
#include <QTextCursor>
#include <QTextDocument>

View File

@@ -36,12 +36,12 @@
#include <texteditor/codeassist/assistenums.h>
#include <texteditor/codeassist/completionassistprovider.h>
#include <cplusplus/Token.h>
QT_BEGIN_NAMESPACE
class QTextDocument;
QT_END_NAMESPACE
namespace CPlusPlus { struct LanguageFeatures; }
namespace TextEditor {
class BaseTextEditor;
class AssistInterface;

View File

@@ -32,8 +32,9 @@
#include "cppmodelmanager.h"
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/idocument.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <QStringMatcher>

View File

@@ -34,6 +34,7 @@
#include <cplusplus/CppDocument.h>
#include <coreplugin/editormanager/documentmodel.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>

View File

@@ -35,12 +35,13 @@
#include "cppmodelmanager.h"
#include <coreplugin/find/searchresultwindow.h>
#include <coreplugin/find/textfindconstants.h>
#include <QFuture>
#include <QStringList>
namespace Core { class SearchResultItem; }
namespace CppTools {
class CPPTOOLS_EXPORT SymbolSearcher: public QObject

View File

@@ -31,6 +31,7 @@
#include "cppmodelmanager.h"
#include "abstracteditorsupport.h"
#include "baseeditordocumentprocessor.h"
#include "builtinindexingsupport.h"
#include "cppcodemodelinspectordumper.h"
#include "cppcodemodelsettings.h"
@@ -48,6 +49,7 @@
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/editormanager/editormanager.h>
#include <texteditor/textdocument.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
#include <extensionsystem/pluginmanager.h>
@@ -56,6 +58,7 @@
#include <QCoreApplication>
#include <QDebug>
#include <QDir>
#include <QMutexLocker>
#include <QTextBlock>
#include <QTimer>

View File

@@ -35,10 +35,6 @@
#include "cppprojects.h"
#include <projectexplorer/project.h>
#include <texteditor/texteditor.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/cppmodelmanagerbase.h>
#include <QFuture>

View File

@@ -28,6 +28,7 @@
**
****************************************************************************/
#include "baseeditordocumentprocessor.h"
#include "builtineditordocumentparser.h"
#include "cppsourceprocessor.h"
#include "cpptoolsplugin.h"

View File

@@ -31,6 +31,9 @@
#include "cpppointerdeclarationformatter.h"
#include <cplusplus/Overview.h>
#include <QDebug>
#include <QTextCursor>
#define DEBUG_OUTPUT 0

View File

@@ -34,7 +34,11 @@
#include "cpptools_global.h"
#include "cpprefactoringchanges.h"
#include <cplusplus/Overview.h>
#include <cplusplus/ASTVisitor.h>
#include <utils/changeset.h>
namespace CPlusPlus { class Overview; }
namespace CppTools {

View File

@@ -41,6 +41,7 @@
#include <utils/fileutils.h>
#include <cplusplus/Overview.h>
#include <cplusplus/pp.h>
#include <QDebug>

View File

@@ -33,8 +33,6 @@
#include "cpptools_global.h"
#include <utils/mimetypes/mimetype.h>
#include <QHash>
#include <QList>
#include <QString>

View File

@@ -34,11 +34,14 @@
#include <projectexplorer/kit.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/kitmanager.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/target.h>
#include <utils/fileutils.h>
#include <utils/qtcassert.h>
#include <QDir>
#include <QSet>
#include <QTextStream>

View File

@@ -35,7 +35,6 @@
#include "cppprojectfile.h"
#include <projectexplorer/project.h>
#include <projectexplorer/toolchain.h>
#include <cplusplus/Token.h>
@@ -45,7 +44,12 @@
#include <functional>
namespace ProjectExplorer { class Project; }
namespace Utils { class FileName; }
namespace CppTools {
class ProjectFile;
class CPPTOOLS_EXPORT ProjectPart
{

View File

@@ -39,6 +39,8 @@
#include <utils/qtcassert.h>
#include <QTextDocument>
using namespace CPlusPlus;
namespace CppTools {

View File

@@ -32,12 +32,11 @@
#define CPPREFACTORINGCHANGES_H
#include "cpptools_global.h"
#include "cppmodelmanager.h"
#include <cplusplus/CppDocument.h>
#include <texteditor/refactoringchanges.h>
#include <cplusplus/LookupContext.h>
namespace CppTools {
class CppRefactoringChanges;

View File

@@ -56,6 +56,7 @@
#include <coreplugin/jsexpander.h>
#include <coreplugin/vcsmanager.h>
#include <cppeditor/cppeditorconstants.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projecttree.h>
#include <utils/fileutils.h>

View File

@@ -29,10 +29,11 @@
****************************************************************************/
#include "cpptoolstestcase.h"
#include "cppmodelmanager.h"
#include "cppworkingcopy.h"
#include <coreplugin/editormanager/editormanager.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
#include <texteditor/texteditor.h>

View File

@@ -31,10 +31,9 @@
#ifndef CPPTOOLSTESTCASE_H
#define CPPTOOLSTESTCASE_H
#include "cppmodelmanager.h"
#include "cpptools_global.h"
#include <coreplugin/editormanager/ieditor.h>
#include <cplusplus/CppDocument.h>
#include <QStringList>
#include <QTemporaryDir>
@@ -53,6 +52,9 @@ class IAssistProposal;
}
namespace CppTools {
class CppModelManager;
class ProjectInfo;
namespace Tests {
class CPPTOOLS_EXPORT TestDocument

View File

@@ -35,7 +35,7 @@
#include <cplusplus/Overview.h>
#include <QTextCursor>
QT_FORWARD_DECLARE_CLASS(QTextCursor)
namespace CPlusPlus { class DeclarationAST; }

View File

@@ -31,10 +31,10 @@
#ifndef EDITORDOCUMENTHANDLE_H
#define EDITORDOCUMENTHANDLE_H
#include "baseeditordocumentprocessor.h"
#include "cpptools_global.h"
namespace CppTools {
class BaseEditorDocumentProcessor;
class CPPTOOLS_EXPORT CppEditorDocumentHandle
{

View File

@@ -30,12 +30,15 @@
#include "insertionpointlocator.h"
#include "cppprojectfile.h"
#include "cpptoolsreuse.h"
#include "symbolfinder.h"
#include "cpptoolsconstants.h"
#include <coreplugin/icore.h>
#include <cplusplus/LookupContext.h>
#include <utils/qtcassert.h>
using namespace CPlusPlus;

View File

@@ -33,6 +33,8 @@
#include "cppmodelmanager.h"
#include <projectexplorer/project.h>
#include <QObject>
namespace CppTools {

View File

@@ -29,13 +29,16 @@
****************************************************************************/
#include "semantichighlighter.h"
#include "cppsemanticinfo.h"
#include <texteditor/fontsettings.h>
#include <texteditor/syntaxhighlighter.h>
#include <texteditor/textdocument.h>
#include <utils/qtcassert.h>
#include <QLoggingCategory>
#include <QTextDocument>
using namespace CPlusPlus;
using TextEditor::SemanticHighlighter::incrementalApplyExtraAdditionalFormats;

View File

@@ -31,18 +31,19 @@
#ifndef SEMANTICHIGHLIGHTER_H
#define SEMANTICHIGHLIGHTER_H
#include "cppsemanticinfo.h"
#include "cpptools_global.h"
#include <texteditor/textdocument.h>
#include <texteditor/semantichighlighter.h>
#include <QFutureWatcher>
#include <QScopedPointer>
#include <QTextEdit>
#include <QTextCharFormat>
#include <functional>
namespace TextEditor {
class HighlightingResult;
class TextDocument;
}
namespace CppTools {
class CPPTOOLS_EXPORT SemanticHighlighter : public QObject

View File

@@ -33,13 +33,20 @@
#include "cpptools_global.h"
#include <cplusplus/CppDocument.h>
#include <QHash>
#include <QStringList>
#include <QMultiMap>
#include <QSet>
namespace CPlusPlus {
class Class;
class Declaration;
class Function;
class LookupContext;
class Snapshot;
class Symbol;
}
namespace CppTools {
class CPPTOOLS_EXPORT SymbolFinder

View File

@@ -36,6 +36,7 @@
#include "searchsymbols.h"
#include <coreplugin/testdatadir.h>
#include <coreplugin/find/searchresultwindow.h>
#include <utils/runextensions.h>
#include <QtTest>

View File

@@ -36,6 +36,8 @@
#include <coreplugin/progressmanager/futureprogress.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/find/searchresultwindow.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>

View File

@@ -41,6 +41,8 @@
#include <QCheckBox>
#include <QRadioButton>
namespace Core { class SearchResult; }
namespace CppTools {
class CppModelManager;

View File

@@ -32,14 +32,15 @@
#define CPPTOOLS_TYPEHIERARCHYBUILDER_H
#include "cpptools_global.h"
#include "cppmodelmanager.h"
#include <cplusplus/CppDocument.h>
#include <cplusplus/Overview.h>
#include <QList>
#include <QStringList>
#include <QSet>
QT_FORWARD_DECLARE_CLASS(QStringList)
namespace CppTools {
class CPPTOOLS_EXPORT TypeHierarchy

View File

@@ -40,6 +40,7 @@
#include <cpptools/cppworkingcopy.h>
#include <cpptools/insertionpointlocator.h>
#include <cpptools/symbolfinder.h>
#include <cplusplus/LookupContext.h>
#include <cplusplus/Overview.h>
#include <coreplugin/icore.h>
#include <coreplugin/editormanager/editormanager.h>

View File

@@ -35,6 +35,7 @@
#include <coreplugin/icore.h>
#include <coreplugin/editormanager/documentmodel.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/messagemanager.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <cpptools/cppmodelmanager.h>