Changeset View
Changeset View
Standalone View
Standalone View
languages/clang/duchain/macronavigationcontext.h
Show All 14 Lines | 1 | /* | |||
---|---|---|---|---|---|
15 | along with this library; see the file COPYING.LIB. If not, write to | 15 | along with this library; see the file COPYING.LIB. If not, write to | ||
16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
17 | Boston, MA 02110-1301, USA. | 17 | Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef MACRONAVIGATIONCONTEXT_H | 20 | #ifndef MACRONAVIGATIONCONTEXT_H | ||
21 | #define MACRONAVIGATIONCONTEXT_H | 21 | #define MACRONAVIGATIONCONTEXT_H | ||
22 | 22 | | |||
23 | #include <duchain/clangduchainexport.h> | 23 | #include "clangprivateexport.h" | ||
24 | 24 | | |||
25 | #include "macrodefinition.h" | 25 | #include "macrodefinition.h" | ||
26 | 26 | | |||
27 | #include <language/editor/documentcursor.h> | 27 | #include <language/editor/documentcursor.h> | ||
28 | #include <language/duchain/navigation/abstractnavigationcontext.h> | 28 | #include <language/duchain/navigation/abstractnavigationcontext.h> | ||
29 | 29 | | |||
30 | #include <QPointer> | 30 | #include <QPointer> | ||
31 | 31 | | |||
32 | class KDEVCLANGDUCHAIN_EXPORT MacroNavigationContext : public KDevelop::AbstractNavigationContext | 32 | class KDEVCLANGPRIVATE_EXPORT MacroNavigationContext : public KDevelop::AbstractNavigationContext | ||
33 | { | 33 | { | ||
34 | public: | 34 | public: | ||
35 | MacroNavigationContext(const MacroDefinition::Ptr& macro, | 35 | MacroNavigationContext(const MacroDefinition::Ptr& macro, | ||
36 | const KDevelop::DocumentCursor& expansionLocation = KDevelop::DocumentCursor::invalid()); | 36 | const KDevelop::DocumentCursor& expansionLocation = KDevelop::DocumentCursor::invalid()); | ||
37 | ~MacroNavigationContext(); | 37 | ~MacroNavigationContext(); | ||
38 | 38 | | |||
39 | virtual QWidget* widget() const override; | 39 | virtual QWidget* widget() const override; | ||
40 | virtual QString html(bool shorten) override; | 40 | virtual QString html(bool shorten) override; | ||
Show All 13 Lines |