diff options
-rw-r--r-- | src/CommandParser.hh | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: CommandParser.hh,v 1.2 2003/07/01 09:01:20 fluxgen Exp $ | 23 | // $Id: CommandParser.hh,v 1.3 2004/01/02 13:43:58 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef COMMANDPARSER_HH | 25 | #ifndef COMMANDPARSER_HH |
26 | #define COMMANDPARSER_HH | 26 | #define COMMANDPARSER_HH |
@@ -56,6 +56,8 @@ public: | |||
56 | 56 | ||
57 | /// @return instance of command parser | 57 | /// @return instance of command parser |
58 | static CommandParser &instance(); | 58 | static CommandParser &instance(); |
59 | /// @return map of factorys | ||
60 | const CommandFactoryMap &factorys() const { return m_commandfactorys; } | ||
59 | private: | 61 | private: |
60 | // so CommandFactory can associate it's commands | 62 | // so CommandFactory can associate it's commands |
61 | friend class CommandFactory; | 63 | friend class CommandFactory; |