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/context.h

25 lines
388 B
C
Raw Normal View History

2019-12-04 15:51:46 +08:00
#ifndef CONTEXT_H
#define CONTEXT_H
#include <QString>
#include "driver/driver.h"
#include "driver/native_driver.h"
class Context
{
private:
int contextId;
QString* source;
public:
Driver* driver = NativeDriver::getInstance();
Context(int contextId, QString* source) {
this->contextId = contextId;
this->source = source;
}
};
#endif // CONTEXT_H