add context holder & registry & bridge

This commit is contained in:
王劲鹏
2019-12-13 17:45:27 +08:00
parent 64fb425f01
commit 3fdedb6240
11 changed files with 85 additions and 18 deletions

17
doric/context_holder.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef CONTEXT_HOLDER_H
#define CONTEXT_HOLDER_H
#include "context.h"
class ContextHolder {
public:
Context *_context;
public:
ContextHolder(Context *context) {
this->_context = context;
}
};
#endif // CONTEXT_HOLDER_H