diff options
author | lloyd <[email protected]> | 2008-11-10 23:15:00 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-10 23:15:00 +0000 |
commit | 33495befa5bdd549ff47295a45271942dc2fe081 (patch) | |
tree | 026902638337846ad2b919a1e07110399c8abef8 /src/libstate/libstate.cpp | |
parent | f947cfbd1523f2bd1930fccbd4a5586f633661ed (diff) |
Add back Library_State::add_engine for Monotone
Diffstat (limited to 'src/libstate/libstate.cpp')
-rw-r--r-- | src/libstate/libstate.cpp | 8 |
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 * *************************************************/ |