Changeset 2672 in Sophya for trunk/SophyaPI/PIext/piacmd.cc
- Timestamp:
- Apr 18, 2005, 5:39:39 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piacmd.cc
r2615 r2672 155 155 helpwin_initdone = false; 156 156 157 string kw = "exitpiapp";158 157 string grp = "PIACmd"; 159 158 string gdesc = "piapp interpreter (class PIACmd) additional builtin commands"; 160 159 AddHelpGroup(grp, gdesc); 161 160 161 string kw = "exitpiapp"; 162 162 string usage = "To end the piapp session "; 163 163 RegisterCommand(kw, usage, NULL, grp); 164 164 kw = "helpwindow"; 165 165 usage = "To display the Help window "; 166 RegisterCommand(kw, usage, NULL, grp); 167 kw = "breakexe"; 168 usage = "To break (stop) interpreter (PIACmd/Commander) execution"; 166 169 RegisterCommand(kw, usage, NULL, grp); 167 170 … … 203 206 void PIACmd::AddInputLine(string const & line) 204 207 { 208 if (line == "breakexe") { 209 StopExecution(); 210 return; 211 } 205 212 mutx_inps.lock(); 206 213 inputlines.push(line); // Ajout d'un element en fin de queue
Note:
See TracChangeset
for help on using the changeset viewer.