smt/boolean_terms.cpp \
smt/logic_exception.h \
smt/logic_request.h \
+ smt/logic_request.cpp \
smt/simplification_mode.h \
smt/simplification_mode.cpp \
smt/options_handlers.h \
--- /dev/null
+
+
+#include "smt/logic_request.h"
+#include "smt/smt_engine.h"
+
+
+namespace CVC4 {
+
+/** Widen the logic to include the given theory. */
+void LogicRequest::widenLogic(theory::TheoryId id) {
+ d_smt.d_logic.getUnlockedCopy();
+ d_smt.d_logic = d_smt.d_logic.getUnlockedCopy();
+ d_smt.d_logic.enableTheory(id);
+ d_smt.d_logic.lock();
+}
+
+}/* CVC4 namespace */
#define __CVC4__LOGIC_REQUEST_H
#include "expr/kind.h"
-#include "smt/smt_engine.h"
namespace CVC4 {
+class SmtEngine;
+
class LogicRequest {
/** The SmtEngine at play. */
SmtEngine& d_smt;
LogicRequest(SmtEngine& smt) : d_smt(smt) { }
/** Widen the logic to include the given theory. */
- void widenLogic(theory::TheoryId id) {
- d_smt.d_logic.getUnlockedCopy();
- d_smt.d_logic = d_smt.d_logic.getUnlockedCopy();
- d_smt.d_logic.enableTheory(id);
- d_smt.d_logic.lock();
- }
+ void widenLogic(theory::TheoryId id);
};/* class LogicRequest */