language/duchain
importers.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef IMPORTERS_H
00020 #define IMPORTERS_H
00021
00022 #include "../languageexport.h"
00023 #include "declarationid.h"
00024
00025
00026 namespace KDevelop {
00027
00028 class DeclarationId;
00029 class IndexedDUContext;
00030
00040 class KDEVPLATFORMLANGUAGE_EXPORT Importers {
00041 public:
00043 Importers();
00045 ~Importers();
00049 void addImporter(const DeclarationId& id, const IndexedDUContext& use);
00053 void removeImporter(const DeclarationId& id, const IndexedDUContext& use);
00054
00056 KDevVarLengthArray<IndexedDUContext> importers(const DeclarationId& id) const;
00057
00058 static Importers& self();
00059
00060 private:
00061 class ImportersPrivate* d;
00062 };
00063 }
00064
00065 #endif
00066