Artifact 4375fba2fc66f9ab9f47546f756e2ae8cd951f68
- File
src/gui_main.d
- 2012-07-15 13:24:12 - part of checkin [b6026abfcf] on branch trunk - Simplified GUI code. (user: kinaba) [annotate]
import util; import gui; import output; import driver; import solver; import std.stdio; pragma(lib, "dfl.lib"); void main(string[] argv) { bool automate = (argv.length>=2 && std.string.indexOf(argv[1],"auto")>=0); auto d = new Driver(stdin); d.addObserver!(GuardedOutput)(); d.addObserver!(GUI!MainSolver)().run(&d.command, automate); }