Skip to content
Snippets Groups Projects
Commit 9d70d668 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

Adding interface for context widget to qmljs lib

parent 98949083
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ HEADERS += \ ...@@ -22,6 +22,7 @@ HEADERS += \
$$PWD/qmljsscopebuilder.h \ $$PWD/qmljsscopebuilder.h \
$$PWD/qmljslineinfo.h \ $$PWD/qmljslineinfo.h \
$$PWD/qmljscompletioncontextfinder.h \ $$PWD/qmljscompletioncontextfinder.h \
$$PWD/qmljsicontextpane.h \
$$PWD/qmljspropertyreader.h \ $$PWD/qmljspropertyreader.h \
$$PWD/qmljsrewriter.h $$PWD/qmljsrewriter.h
......
#ifndef QMLJSICONTEXTPANE_H
#define QMLJSICONTEXTPANE_H
#include <QObject>
#include "qmljs_global.h"
#include <qmljs/parser/qmljsastfwd_p.h>
#include <qmljs/qmljsdocument.h>
namespace TextEditor {
class BaseTextEditorEditable;
} //TextEditor
namespace QmlJS {
class QMLJS_EXPORT IContextPane : public QObject
{
Q_OBJECT
public:
IContextPane(QObject *parent = 0) : QObject(parent) {}
virtual ~IContextPane() {}
virtual void apply(TextEditor::BaseTextEditorEditable *editor, Document::Ptr doc, AST::Node *node, bool update) = 0;
virtual void setEnabled(bool) = 0;
};
} // namespace QmlJS
#endif // QMLJSICONTEXTPANE_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment