Differences From Artifact [8844bb07a00188c5]:
- File
src/cui_auto_main.d
- 2012-07-14 14:33:25 - part of checkin [aea6cfc7e3] on branch trunk - further clean up. (user: kinaba) [annotate]
To Artifact [b38d60ea39d11e6e]:
- File
src/cui_auto_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 11:26:58 - part of checkin [bd650eb3f9] on branch trunk - Output is now fully functional. (user: kinaba) [annotate]
15 } 15 }
16 } 16 }
17 17
18 void main(string[] args) 18 void main(string[] args)
19 { 19 {
20 Driver d = new Driver(stdin); 20 Driver d = new Driver(stdin);
21 d.addObserver!(GuardedOutput)(); 21 d.addObserver!(GuardedOutput)();
22 auto c = d.addObserver!(CUI!Solver_1)(); | 22 auto c = d.addObserver!(CUI!MainSolver)();
23 while(!c.fin) 23 while(!c.fin)
24 d.command(c.solver.single_step()); 24 d.command(c.solver.single_step());
25 } 25 }