Differences From Artifact [4375fba2fc66f9ab]:
- File
src/gui_main.d
- 2012-07-15 13:24:12 - part of checkin [b6026abfcf] on branch trunk - Simplified GUI code. (user: kinaba) [annotate]
To Artifact [4124e840a1a49af9]:
- File
src/gui_main.d
- 2012-07-15 13:27:45 - part of checkin [3014ab5a8a] on branch trunk - Clean up. (user: kinaba) [annotate]
1 1 import util;
2 2 import gui;
3 3 import output;
4 4 import driver;
5 5 import solver;
6 -import std.stdio;
7 6 pragma(lib, "dfl.lib");
8 7
9 8 void main(string[] argv)
10 9 {
11 10 bool automate = (argv.length>=2 && std.string.indexOf(argv[1],"auto")>=0);
12 11
13 12 auto d = new Driver(stdin);
14 13 d.addObserver!(GuardedOutput)();
15 14 d.addObserver!(GUI!MainSolver)().run(&d.command, automate);
16 15 }