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_holder.h
2019-12-14 18:28:04 +08:00

18 lines
319 B
C++

#ifndef CONTEXT_HOLDER_H
#define CONTEXT_HOLDER_H
#include "context.h"
class ContextHolder : public QObject {
Q_OBJECT
public:
Context *_context;
public:
ContextHolder(Context *context, QObject *parent = nullptr) : QObject(parent) {
this->_context = context;
}
};
#endif // CONTEXT_HOLDER_H