command factory accessor
This commit is contained in:
parent
345ef845c9
commit
5103e80e9a
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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
|
#ifndef COMMANDPARSER_HH
|
||||||
#define COMMANDPARSER_HH
|
#define COMMANDPARSER_HH
|
||||||
|
@ -56,6 +56,8 @@ public:
|
||||||
|
|
||||||
/// @return instance of command parser
|
/// @return instance of command parser
|
||||||
static CommandParser &instance();
|
static CommandParser &instance();
|
||||||
|
/// @return map of factorys
|
||||||
|
const CommandFactoryMap &factorys() const { return m_commandfactorys; }
|
||||||
private:
|
private:
|
||||||
// so CommandFactory can associate it's commands
|
// so CommandFactory can associate it's commands
|
||||||
friend class CommandFactory;
|
friend class CommandFactory;
|
||||||
|
|
Loading…
Reference in a new issue