- Fixed some bugs in command processing, added the configure-cpu-policy command

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@748 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-07-10 22:28:51 +00:00
parent 1a6805afc4
commit 6150af3d30
8 changed files with 196 additions and 77 deletions

View file

@ -24,6 +24,8 @@
#include "main.hh"
#include "parse_opts.hh"
#include "text_simulation.hh"
#include "io_manager.hh"
#include <glibmm/module.h>
#include <glibmm/thread.h>
@ -52,7 +54,18 @@ main(int argc, char* argv[])
// Parses options and prepares vector with
// filenames of documents to be opened
parse_options(argc, argv);
return 0;
parse_options(argc, argv);
TextSimulation sim;
while(1)
{
string str;
getline(cin, str);
TextSimulation::parse_command(sim, str);
}
return 0;
}