language/duchain
duchainobserver.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef DUCHAINOBSERVER_H
00020 #define DUCHAINOBSERVER_H
00021
00022 #include <QtCore/QObject>
00023
00024 #include <KDE/KUrl>
00025
00026 #include <KDE/KTextEditor/Range>
00027
00028 #include "duchainpointer.h"
00029 #include "../interfaces/iproblem.h"
00030
00031 namespace KDevelop
00032 {
00033
00034 class DUChainBase;
00035 class DUContext;
00036 class Declaration;
00037 class Definition;
00038 class Use;
00039
00046 class KDEVPLATFORMLANGUAGE_EXPORT DUChainObserver : public QObject
00047 {
00048 Q_OBJECT
00049 friend class DUChain;
00050
00051 public:
00053 virtual ~DUChainObserver();
00054
00055 Q_SIGNALS:
00056 void branchAdded(KDevelop::DUContextPointer context);
00057 void branchModified(KDevelop::DUContextPointer context);
00058 void branchRemoved(KDevelop::DUContextPointer context);
00059 };
00060
00061 }
00062
00063 #endif // DUCHAINOBSERVER_H
00064
00065