20 #ifndef __COMMANDMAP_INC__ 
   21 #define __COMMANDMAP_INC__ 
   44 typedef bool    (*cmdCallBack)  (
 
   45         const QString &         s_cmd,
 
   46         const AaTkString &      atks,
 
   71     typedef QMap<QString,cmdCallBack>                       CmdList;
 
   72     typedef QMap<QString,cmdCallBack>::Iterator             CmdIter;
 
   90     QList<AprilModule*>         modules_;
 
  112     bool                addCommand      ( 
const QString & s_cmd, cmdCallBack kb );
 
  115     bool                remCommand      ( 
const QString & s_cmd, cmdCallBack kb );
 
  118     QStringList         commands        ( 
void ) 
const;
 
  127     QStringList         modules         ( 
void ) 
const;
 
  131     void                execute         ( 
const QString & s_input );
 
  134     bool                shouldExit      ( 
void )
 const 
  138     bool                shouldContinue  ( 
void )
 const 
  139     { 
return b_exit_ == 
false; }
 
  160 #endif // __COMMANDMAP_INC__