- Textual simulation is now brought up only if requested
by the -N switch given at the cmdline git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@754 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
3612d20ae0
commit
db34232e72
3 changed files with 142 additions and 134 deletions
15
src/main.cc
15
src/main.cc
|
@ -24,8 +24,6 @@
|
|||
#include "main.hh"
|
||||
|
||||
#include "parse_opts.hh"
|
||||
#include "text_simulation.hh"
|
||||
#include "io_manager.hh"
|
||||
|
||||
#include <glibmm/module.h>
|
||||
#include <glibmm/thread.h>
|
||||
|
@ -55,17 +53,6 @@ main(int argc, char* argv[])
|
|||
// Parses options and prepares vector with
|
||||
// filenames of documents to be opened
|
||||
parse_options(argc, argv);
|
||||
|
||||
TextSimulation sim;
|
||||
|
||||
while(1)
|
||||
{
|
||||
string str;
|
||||
getline(cin, str);
|
||||
|
||||
TextSimulation::parse_command(sim, str);
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue