Differences From Artifact [49f16753320613b8]:
- File
src/gui_main.d
- 2012-07-14 12:29:17 - part of checkin [9d4aca73fa] on branch trunk - GUI+Solver revived. (user: kinaba) [annotate]
To 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]
5 import std.stdio; 5 import std.stdio;
6 pragma(lib, "dfl.lib"); 6 pragma(lib, "dfl.lib");
7 7
8 void main(string[] args) 8 void main(string[] args)
9 { 9 {
10 Driver d = new Driver(stdin); 10 Driver d = new Driver(stdin);
11 d.addObserver!(GuardedOutput)(); 11 d.addObserver!(GuardedOutput)();
12 auto g = d.addObserver!(GUI!Solver_1)(); | 12 auto g = d.addObserver!(GUI!MainSolver)();
13 g.set_fn(&d.command); 13 g.set_fn(&d.command);
14 g.run(); 14 g.run();
15 } 15 }