KDE/kdevplatform/language

Andreas Pakulat apaku at gmx.de
Sun Feb 17 10:39:29 UTC 2008


SVN commit 776060 by apaku:

Fix header inclusion.

Whenever you add or change an include for a header thats part of kdevelop make
sure its usable with specifying just KDEVPLATFORM_INCLUDE_DIR (i.e. use
#include <editor/foo.h> instead of #include <foo.h>)

CCMAIL:kdevelop-devel at kdevelop.org


 M  +2 -1      duchain/declaration.h  
 M  +1 -1      duchain/definition.h  
 M  +2 -2      duchain/duchainbase.h  
 M  +1 -1      duchain/duchainpointer.h  
 M  +2 -2      duchain/ducontext.h  
 M  +2 -2      duchain/parsingenvironment.h  
 M  +1 -1      duchain/topducontext.h  
 M  +3 -3      duchain/typesystem.h  
 M  +2 -2      duchain/use.h  
 M  +2 -2      interfaces/iproblem.h  


--- trunk/KDE/kdevplatform/language/duchain/declaration.h #776059:776060
@@ -20,10 +20,11 @@
 #define DECLARATION_H
 
 #include <QtCore/QList>
+#include <editor/documentrangeobject.h>
+
 #include "../languageexport.h"
 
 #include "identifier.h"
-#include <documentrangeobject.h>
 #include "typesystem.h"
 #include "duchainbase.h"
 #include "contextowner.h"
--- trunk/KDE/kdevplatform/language/duchain/definition.h #776059:776060
@@ -19,7 +19,7 @@
 #ifndef DEFINITION_H
 #define DEFINITION_H
 
-#include <documentrangeobject.h>
+#include <editor/documentrangeobject.h>
 #include "duchainbase.h"
 #include "../languageexport.h"
 #include "contextowner.h"
--- trunk/KDE/kdevplatform/language/duchain/duchainbase.h #776059:776060
@@ -19,9 +19,9 @@
 #ifndef DUCHAINBASE_H
 #define DUCHAINBASE_H
 
-#include <documentrangeobject.h>
+#include <editor/documentrangeobject.h>
+#include <editor/hashedstring.h>
 #include "../languageexport.h"
-#include <hashedstring.h>
 
 namespace KDevelop
 {
--- trunk/KDE/kdevplatform/language/duchain/duchainpointer.h #776059:776060
@@ -20,6 +20,7 @@
 #define DUCHAINPOINTER_H
 
 #include <QMetaType>
+#include <ksharedptr.h>
 
 #include "ducontext.h"
 #include "topducontext.h"
@@ -28,7 +29,6 @@
 #include "abstractfunctiondeclaration.h"
 #include "definition.h"
 
-#include <ksharedptr.h>
 #include "../languageexport.h"
 
 //krazy:excludeall=dpointer
--- trunk/KDE/kdevplatform/language/duchain/ducontext.h #776059:776060
@@ -20,12 +20,12 @@
 #define DUCONTEXT_H
 
 #include <QtCore/QHash>
-#include "../languageexport.h"
 
-#include <documentcursorobject.h>
+#include <editor/documentcursorobject.h>
 #include "identifier.h"
 #include "typesystem.h"
 #include "duchainbase.h"
+#include "../languageexport.h"
 
 template<class T>
 class QSet;
--- trunk/KDE/kdevplatform/language/duchain/parsingenvironment.h #776059:776060
@@ -21,10 +21,10 @@
 
 #include <QtCore/QDateTime>
 
-#include "../languageexport.h"
 #include <ksharedptr.h>
 #include <kurl.h>
-#include <hashedstring.h>
+#include <editor/hashedstring.h>
+#include "../languageexport.h"
 
 namespace KDevelop
 {
--- trunk/KDE/kdevplatform/language/duchain/topducontext.h #776059:776060
@@ -20,7 +20,7 @@
 #define TOPDUCONTEXT_H
 
 #include "ducontext.h"
-#include "languageexport.h"
+#include "../languageexport.h"
 #include <QtCore/QMutex>
 
 template< class T >
--- trunk/KDE/kdevplatform/language/duchain/typesystem.h #776059:776060
@@ -20,14 +20,14 @@
 #ifndef TYPESYSTEM_H
 #define TYPESYSTEM_H
 
-#include "identifier.h"
-#include "../languageexport.h"
 #include <QtCore/QSet>
-
 #include <QtCore/QList>
 
 #include <ksharedptr.h>
 
+#include "identifier.h"
+#include "../languageexport.h"
+
 namespace KDevelop
 {
 
--- trunk/KDE/kdevplatform/language/duchain/use.h #776059:776060
@@ -19,9 +19,9 @@
 #ifndef DEFINITIONUSE_H
 #define DEFINITIONUSE_H
 
+#include <editor/documentrangeobject.h>
+#include "duchainbase.h"
 #include "../languageexport.h"
-#include <documentrangeobject.h>
-#include "duchainbase.h"
 
 namespace KDevelop
 {
--- trunk/KDE/kdevplatform/language/interfaces/iproblem.h #776059:776060
@@ -26,8 +26,8 @@
 
 #include <ksharedptr.h>
 
-#include <documentcursor.h>
-#include <documentrange.h>
+#include <editor/documentcursor.h>
+#include <editor/documentrange.h>
 
 namespace KDevelop
 {




More information about the KDevelop-devel mailing list