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_holder.h
2019-12-21 21:55:53 +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