This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/doric/context.h
2021-05-20 18:27:45 +08:00

26 lines
439 B
C++

#ifndef CONTEXT_H
#define CONTEXT_H
#include <QString>
#include "interface_driver.h"
class Context
{
private:
QString mContextId;
QString source;
QString script;
QString extra;
InterfaceDriver *driver = NULL;
public:
Context(QString contextId, QString source, QString extra);
static Context* create(QString script, QString source, QString extra);
InterfaceDriver* getDriver();
};
#endif // CONTEXT_H