Commit 9d70d668 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

Adding interface for context widget to qmljs lib

parent 98949083
......@@ -22,6 +22,7 @@ HEADERS += \
$$PWD/qmljsscopebuilder.h \
$$PWD/qmljslineinfo.h \
$$PWD/qmljscompletioncontextfinder.h \
$$PWD/qmljsicontextpane.h \
$$PWD/qmljspropertyreader.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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment