Differences From Artifact [05082d0f328d756c]:
- File
src/gui_main.d
- 2012-07-14 16:39:50 - part of checkin [fec7ddc502] on branch trunk - Refactoring for ease of changine main solver. (user: kinaba) [annotate]
- 2012-07-15 12:01:04 - part of checkin [a03584f1c6] on branch trunk - Refactored. (user: kinaba) [annotate]
To Artifact [1d7ea5dfabc56eb4]:
- File
src/gui_main.d
- 2012-07-15 11:17:59 - part of checkin [ff0ab77d3d] on branch trunk - new game class. (user: kinaba) [annotate]
4 4 import solver;
5 5 import std.stdio;
6 6 pragma(lib, "dfl.lib");
7 7
8 8 void main(string[] args)
9 9 {
10 10 Driver d = new Driver(stdin);
11 - d.addObserver!(GuardedOutput)();
12 - auto g = d.addObserver!(GUI!MainSolver)();
11 +// d.addObserver!(GuardedOutput)();
12 + d.addObserver!(StdOutput)();
13 +// auto g = d.addObserver!(GUI!MainSolver)();
14 + auto g = d.addObserver!(GUI!Solver_0)();
13 15 g.set_fn(&d.command);
14 16 g.run();
15 17 }