aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/libstate.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-10 23:15:00 +0000
committerlloyd <[email protected]>2008-11-10 23:15:00 +0000
commit33495befa5bdd549ff47295a45271942dc2fe081 (patch)
tree026902638337846ad2b919a1e07110399c8abef8 /src/libstate/libstate.cpp
parentf947cfbd1523f2bd1930fccbd4a5586f633661ed (diff)
Add back Library_State::add_engine for Monotone
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 *
*************************************************/