Diff
Not logged in

Differences From Artifact [4375fba2fc66f9ab]:

To Artifact [4124e840a1a49af9]:


1 import util; 1 import util; 2 import gui; 2 import gui; 3 import output; 3 import output; 4 import driver; 4 import driver; 5 import solver; 5 import solver; 6 import std.stdio; < 7 pragma(lib, "dfl.lib"); 6 pragma(lib, "dfl.lib"); 8 7 9 void main(string[] argv) 8 void main(string[] argv) 10 { 9 { 11 bool automate = (argv.length>=2 && std.string.indexOf(argv[1],"auto")>=0 10 bool automate = (argv.length>=2 && std.string.indexOf(argv[1],"auto")>=0 12 11 13 auto d = new Driver(stdin); 12 auto d = new Driver(stdin); 14 d.addObserver!(GuardedOutput)(); 13 d.addObserver!(GuardedOutput)(); 15 d.addObserver!(GUI!MainSolver)().run(&d.command, automate); 14 d.addObserver!(GUI!MainSolver)().run(&d.command, automate); 16 } 15 }