EQL5/examples/M-modules/quick/qml-lisp/lib/qml_lisp.h

25 lines
377 B
C++

#ifndef LIB_H
#define LIB_H
#include <QtQml>
#ifdef Q_OS_WIN
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT
#endif
QT_BEGIN_NAMESPACE
extern "C" { LIB_EXPORT QObject* ini(); }
class Lisp : public QObject {
Q_OBJECT
public:
Q_INVOKABLE QVariant apply(QObject*, const QString&, const QVariantList& = QVariantList());
};
QT_END_NAMESPACE
#endif