aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/libstate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstate/libstate.cpp')
-rw-r--r--src/libstate/libstate.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp
index c4d81de7a..7c3105752 100644
--- a/src/libstate/libstate.cpp
+++ b/src/libstate/libstate.cpp
@@ -284,6 +284,14 @@ void Library_State::initialize(bool thread_safe)
algorithm_factory->add_engine(new Default_Engine);
}
+/**
+* Add a new engine
+*/
+void Library_State::add_engine(Engine* engine)
+ {
+ algorithm_factory->add_engine(engine);
+ }
+
/*************************************************
* Library_State Constructor *
*************************************************/