From 5103e80e9adaeac1cfc5dc21cc28de993dc9d710 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 2 Jan 2004 13:43:58 +0000 Subject: command factory accessor --- src/CommandParser.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CommandParser.hh b/src/CommandParser.hh index 7872ef2..038598f 100644 --- a/src/CommandParser.hh +++ b/src/CommandParser.hh @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: CommandParser.hh,v 1.2 2003/07/01 09:01:20 fluxgen Exp $ +// $Id: CommandParser.hh,v 1.3 2004/01/02 13:43:58 fluxgen Exp $ #ifndef COMMANDPARSER_HH #define COMMANDPARSER_HH @@ -56,6 +56,8 @@ public: /// @return instance of command parser static CommandParser &instance(); + /// @return map of factorys + const CommandFactoryMap &factorys() const { return m_commandfactorys; } private: // so CommandFactory can associate it's commands friend class CommandFactory; -- cgit v0.11.2