X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fappli%2Fbbi%2Fbbi.cxx;h=7918d1967bd2ccd5ca61c65f0b19b97ac4a7c4d4;hb=ce4491d66577c9daf930cb8744e738e4b7220fe7;hp=c594a081f5d939f8e5d30948b8eb1b3b3197bd5c;hpb=e269992d2d446784afc40073782311deaa25008f;p=bbtk.git diff --git a/kernel/appli/bbi/bbi.cxx b/kernel/appli/bbi/bbi.cxx index c594a08..7918d19 100644 --- a/kernel/appli/bbi/bbi.cxx +++ b/kernel/appli/bbi/bbi.cxx @@ -121,7 +121,7 @@ void WxProcessCmdLine::Process(wxCmdLineParser& parser) #if wxMAJOR_VERSION <= 2 graphical_dialog = ( parser.Found(_T("wxcommandlineg")) ); #else - printf("EED Warnning. WxProcessCmdLine::Process g wxcommandlineg "); + printf("EED Warnning. WxProcessCmdLine::Process g wxcommandlineg \n"); graphical_dialog = ( parser.Found(_T("g")) ); #endif @@ -220,7 +220,6 @@ bool wxBBIApp::OnInit( ) setlocale(LC_NUMERIC, "C"); #endif - if (cmd.quiet) bbtk::MessageManager::SetMessageLevel("max",0); if (cmd.debug) bbtk::MessageManager::SetMessageLevel("all",9); @@ -229,7 +228,6 @@ bool wxBBIApp::OnInit( ) //printf ("EED bbi wxBBIApp::OnInit .....................\n"); //cmd.input_file.push_back("/home/davila/Borrame/testwt.bbs"); - bbtk::WxGUIConsole *I = new bbtk::WxGUIConsole(0,_T("bbi"),wxSize(800,600)); SetTopWindow(I); if (cmd.console) I->Show(true); @@ -245,6 +243,7 @@ bool wxBBIApp::OnInit( ) std::vector::const_iterator i; bool error = false; + for (i=cmd.input_file.begin(); i!=cmd.input_file.end(); ++i) { error = ! I->InterpretFile(*i); @@ -261,6 +260,7 @@ bool wxBBIApp::OnInit( ) I->GetInterpreter()->GetExecuter()->GetFactory()->PrintHelpDescriptor("workspace",package,false); } + /* std::cout << "soe="<