20 lines
483 B
C++
20 lines
483 B
C++
#ifndef INTERFACEDRIVER_H
|
|
#define INTERFACEDRIVER_H
|
|
|
|
#include <QString>
|
|
#include <QObject>
|
|
|
|
class InterfaceDriver
|
|
{
|
|
public:
|
|
virtual void invokeContextEntityMethod(QString contextId, QString method, QList<QObject> args) = 0;
|
|
|
|
virtual void invokeDoricMethod(QString method, QList<QObject> args) = 0;
|
|
|
|
virtual void createContext(QString contextId, QString script, QString source) = 0;
|
|
|
|
virtual void destroyContext(QString contextId) = 0;
|
|
};
|
|
|
|
#endif // INTERFACEDRIVER_H
|