diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-08-18 15:13:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-18 15:13:21 -0500 |
commit | dfd844226c4cc6c6d2af78ef6291b0a9d087f4d4 (patch) | |
tree | 47853884475eefcdad531e6ea6edc274d63abcf1 /src/prop/theory_proxy.h | |
parent | 42b8e0a4fc5b23dfce79cbadc08a8aa8542997e0 (diff) |
Make TheoryProxy use Env, simplify initialization of PropEngine (#7031)
This simplifies our management of how/when proofs are enabled in the PropEngine.
Diffstat (limited to 'src/prop/theory_proxy.h')
-rw-r--r-- | src/prop/theory_proxy.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/prop/theory_proxy.h b/src/prop/theory_proxy.h index f988c00e2..0e54ff8c9 100644 --- a/src/prop/theory_proxy.h +++ b/src/prop/theory_proxy.h @@ -35,10 +35,12 @@ namespace cvc5 { +class Env; +class TheoryEngine; + namespace decision { class DecisionEngine; } -class TheoryEngine; namespace prop { @@ -56,9 +58,7 @@ class TheoryProxy : public Registrar TheoryEngine* theoryEngine, decision::DecisionEngine* decisionEngine, SkolemDefManager* skdm, - context::Context* context, - context::UserContext* userContext, - ProofNodeManager* pnm); + Env& env); ~TheoryProxy(); @@ -162,6 +162,9 @@ class TheoryProxy : public Registrar /** The skolem definition manager */ SkolemDefManager* d_skdm; + + /** Reference to the environment */ + Env& d_env; }; /* class TheoryProxy */ } // namespace prop |